mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 03:06:14 +02:00
change dir in each tasks
This commit is contained in:
parent
0f5a251398
commit
5f2dd1dad8
1 changed files with 6 additions and 1 deletions
|
@ -6,21 +6,26 @@ packages:
|
||||||
- python3-dev
|
- python3-dev
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-venv
|
- python3-venv
|
||||||
|
environment:
|
||||||
|
project: Stegano
|
||||||
tasks:
|
tasks:
|
||||||
- dependencies: |
|
- dependencies: |
|
||||||
pip3 install --user poetry
|
pip3 install --user poetry
|
||||||
export PATH="$PATH:/home/build/.local/bin"
|
export PATH="$PATH:/home/build/.local/bin"
|
||||||
cd Stegano
|
cd ${project}
|
||||||
poetry install
|
poetry install
|
||||||
- lint: |
|
- lint: |
|
||||||
export PATH="$PATH:/home/build/.local/bin"
|
export PATH="$PATH:/home/build/.local/bin"
|
||||||
|
cd ${project}
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings.
|
# exit-zero treats all errors as warnings.
|
||||||
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
- test: |
|
- test: |
|
||||||
export PATH="$PATH:/home/build/.local/bin"
|
export PATH="$PATH:/home/build/.local/bin"
|
||||||
|
cd ${project}
|
||||||
poetry run nosetests
|
poetry run nosetests
|
||||||
- typecheck: |
|
- typecheck: |
|
||||||
export PATH="$PATH:/home/build/.local/bin"
|
export PATH="$PATH:/home/build/.local/bin"
|
||||||
|
cd ${project}
|
||||||
poetry run python tools/run_mypy.py
|
poetry run python tools/run_mypy.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue