mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 00:58:32 +02:00
chg: [sourcehut] Restored export of PATH.
This commit is contained in:
parent
33c9cd55b1
commit
0d20be7d82
1 changed files with 4 additions and 0 deletions
|
@ -23,17 +23,21 @@ environment:
|
|||
tasks:
|
||||
- dependencies: |
|
||||
pipx install poetry
|
||||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
poetry install
|
||||
- lint: |
|
||||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings.
|
||||
poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics
|
||||
- test: |
|
||||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
poetry run nose2 -v --pretty-assert
|
||||
- typecheck: |
|
||||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
poetry run mypy .
|
||||
|
|
Loading…
Add table
Reference in a new issue