Skip to content

Commit

Permalink
CI tests on github
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarzh committed Jul 26, 2024
1 parent e4dde01 commit 09801c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
- name: Static analysis
run: |
pip install flake8
flake8 --max-line-length=150 --ignore=E266 *.py project/*.py project/*/routes.py
# stop the build if there are Python syntax errors or undefined names
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics *.py project/*.py project/*/routes.py
# exit-zero treats all errors as warnings.
flake8 --count --exit-zero --max-complexity=10 --max-line-length=150 --statistics --ignore=E266 *.py project/*.py project/*/routes.py
- name: Test with pytest
run: |
pip install pytest
Expand Down

0 comments on commit 09801c1

Please sign in to comment.