diff --git a/.builds/debian.yml b/.builds/debian.yml index 3f3713e..851e2a0 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -13,11 +13,14 @@ tasks: cd Stegano poetry install - lint: | + export PATH="$PATH:/home/build/.local/bin" # stop the build if there are Python syntax errors or undefined names poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + # exit-zero treats all errors as warnings. poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - test: | + export PATH="$PATH:/home/build/.local/bin" poetry run nosetests - typecheck: | + export PATH="$PATH:/home/build/.local/bin" poetry run python tools/run_mypy.py