diff --git a/tox.ini b/tox.ini index b23fb11e06d936934cbc07ca5813ffd50e1b25ad..563aaaf8c9c2094e6c218f10c47b274462ff5b3a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,36 +1,19 @@ [tox] isolated_build = true -envlist = clean,lint,test,report +envlist = lint,test -[testenv] +[testenv:lint] deps = - coverage flake8 - pytest - pytest-cov - -[testenv:lint] commands = flake8 pycgtool [testenv:test] +deps = + pytest + pytest-cov commands = - pytest --cov=pycgtool --cov-append test/ -setenv = - COVERAGE_FILE = .coverage.{envname} - -[testenv:report] -skip_install = true -commands = - coverage combine - coverage html - coverage report --fail-under=80 -depends = test - -[testenv:clean] -skip_install = true -commands = - coverage erase + pytest --cov=pycgtool --cov-fail-under=80 test/ [flake8] max-line-length = 120