Skip to content

Commit

Permalink
Fail tox -e coverage if under 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic committed Sep 14, 2024
1 parent 5c9e79e commit 356ba14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ commands =
[testenv:coverage]
passenv = COVERAGE_FORMAT
commands =
python -m pytest -m 'not integration' --cov=pyairtable --cov-report={env:COVERAGE_FORMAT:html}
python -m pytest -m 'not integration' --cov=pyairtable --cov-report={env:COVERAGE_FORMAT:html} --cov-fail-under=100

[testenv:docs]
basepython = python3.8
Expand Down

0 comments on commit 356ba14

Please sign in to comment.