Fail build if test coverage drops is <99% instead of <100%.

This commit is contained in:
William Ting 2016-04-30 23:15:55 -07:00
parent 2443de2655
commit 5ba9965103

View file

@ -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