Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
patnr committed Jul 2, 2024
1 parent 7006390 commit 86580f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
- name: Run tests
run: |
if [[ '$JOBTYPE' == 'lint' ]]; then
if [[ "$JOBTYPE" == "lint" ]]; then
# Run flake8 via pre-commit instead.
#- flake8 . # Use --exit-zero to ignore failure
pre-commit install
pre-commit run --all-files
elif [[ '$JOBTYPE' == 'coverage' ]]; then
elif [[ "$JOBTYPE" == "coverage" ]]; then
pytest tests --ignore=dapper/mods/QG --cov=dapper --cov-report term-missing
else
pytest tests
Expand Down

0 comments on commit 86580f2

Please sign in to comment.