mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 00:58:32 +02:00
chg: [workflows] Updated build workflows.
This commit is contained in:
parent
e988e9e02a
commit
e68404176a
2 changed files with 4 additions and 4 deletions
|
@ -29,9 +29,9 @@ tasks:
|
|||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
# 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 stegano --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings.
|
||||
poetry run flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
|
||||
poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics
|
||||
- test: |
|
||||
export PATH="$PATH:/home/build/.local/bin"
|
||||
cd ${project}
|
||||
|
|
4
.github/workflows/pythonapp.yaml
vendored
4
.github/workflows/pythonapp.yaml
vendored
|
@ -27,9 +27,9 @@ jobs:
|
|||
- name: Lint with flake8
|
||||
run: |
|
||||
# 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 stegano --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
poetry run flake8 . --count --max-complexity=15 --max-line-length=127 --statistics
|
||||
poetry run flake8 stegano --count --max-complexity=15 --max-line-length=127 --statistics
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue