mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Fail build if test coverage drops is <99% instead of <100%.
This commit is contained in:
parent
2443de2655
commit
5ba9965103
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
|
@ -10,7 +10,7 @@ passenv = HOME HOMEPATH PROGRAMDATA
|
|||
commands =
|
||||
coverage erase
|
||||
coverage run --source=pre_commit_hooks/ -m pytest -rxs --durations 10 {posargs:tests}
|
||||
coverage report --show-missing --fail-under 100
|
||||
coverage report --show-missing --fail-under 99
|
||||
pre-commit install -f --install-hooks
|
||||
pre-commit run --all-files
|
||||
pylint {[tox]project} testing tests setup.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue