diff options
author | 2017-09-15 23:03:18 -0400 | |
---|---|---|
committer | 2017-09-15 23:03:37 -0400 | |
commit | 1be5bf5b79b1ae1eebb82e27df358875ac4aa200 (patch) | |
tree | 4ece297e2acb1c91d6b67498f0ec427d43ecf1e7 /tox.ini | |
parent | pkgcheck: don't overwrite argparser targets attr (diff) | |
download | pkgcheck-1be5bf5b79b1ae1eebb82e27df358875ac4aa200.tar.gz pkgcheck-1be5bf5b79b1ae1eebb82e27df358875ac4aa200.tar.bz2 pkgcheck-1be5bf5b79b1ae1eebb82e27df358875ac4aa200.zip |
tox: use --cov-config to specify coveragerc instead of symlinking
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -9,14 +9,13 @@ setenv = deps = pytest pytest-xdist - pytest-cov + pytest-cov>=2.5.1 mock -rrequirements.txt commands = pip install "{toxinidir}" pplugincache -q pkgcheck.plugins - ln -sfn "{toxinidir}/.coveragerc" "{envsitepackagesdir}" - py.test {posargs:-n 4 --cov-report html --cov pkgcheck pkgcheck/test} + py.test {posargs:-n 4 --cov-report html --cov pkgcheck --cov-config "{toxinidir}/.coveragerc" pkgcheck/test} ln -sfn "{envsitepackagesdir}"/htmlcov "{envdir}" [testenv:doc] @@ -35,5 +34,4 @@ commands = commands = pip install "{toxinidir}" pplugincache -q pkgcheck.plugins - ln -sfn "{toxinidir}/.coveragerc" "{envsitepackagesdir}" - py.test {posargs:-n 4 --cov-report= --cov pkgcheck pkgcheck/test} + py.test {posargs:-n 4 --cov-report= --cov pkgcheck --cov-config "{toxinidir}/.coveragerc" pkgcheck/test} |