require coverage 6.x and simplify config

This commit is contained in:
Anthony Sottile 2021-11-14 08:14:36 -08:00
parent 382cc91040
commit ef3585b3a0
2 changed files with 1 additions and 9 deletions

View file

@ -5,10 +5,9 @@ envlist = py36,py37,py38,flake8,linters,docs
[testenv]
deps =
pytest!=3.0.5,!=5.2.3
coverage
coverage>=6
commands =
coverage run -m pytest {posargs}
coverage combine
coverage report
# ensure 100% coverage of tests
coverage report --fail-under 100 --include tests/*