Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
have poetry run flake and pytest
  • Loading branch information
sjswerdloff authored Jul 8, 2023
1 parent 7441d8c commit b81e45a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
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. The GitHub editor is 127 chars wide
# 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
- name: Test with pytest
run: |
pip install pytest
pytest tdwii-plus-examples/tests
poetry run pytest tdwii-plus-examples/tests

0 comments on commit b81e45a

Please sign in to comment.