Skip to content

Commit

Permalink
Add testing via tox
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf authored Aug 16, 2024
1 parent 427e2f8 commit 729c844
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
pdm run flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
pdm run flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
- name: Test with tox/pytest & generate coverage badge
run: |
pdm run pytest
pdm add tox
pdm run tox

0 comments on commit 729c844

Please sign in to comment.