Skip to content

Commit

Permalink
coverage --fail-under added to tox and coverage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Rybakov committed Aug 11, 2023
1 parent b22e994 commit 0638320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
run: |
source .venv/bin/activate
coverage run -m pytest --junitxml=report.xml
coverage report
coverage report --fail-under=96
coverage xml
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ deps =
commands =
coverage run -m pytest {posargs:tests} --random-order
coverage report
coverage report --fail-under=96
set_env =
PIP_EXTRA_INDEX_URL = {env:PIP_EXTRA_INDEX_URL}
Expand Down

0 comments on commit 0638320

Please sign in to comment.