mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 04:26:52 +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 =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run --source=pre_commit_hooks/ -m pytest -rxs --durations 10 {posargs:tests}
|
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 install -f --install-hooks
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
pylint {[tox]project} testing tests setup.py
|
pylint {[tox]project} testing tests setup.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue