Fix coverage collection in tox
This commit is contained in:
parent
855e4d0614
commit
3a26737b03
1 changed files with 3 additions and 1 deletions
4
tox.ini
4
tox.ini
|
@ -5,7 +5,9 @@ envlist = py27, py34, py35, py36, py37, flake8
|
||||||
commands =
|
commands =
|
||||||
{envbindir}/py.test --tb=short \
|
{envbindir}/py.test --tb=short \
|
||||||
--junitxml={toxworkdir}/junit-{envname}.xml \
|
--junitxml={toxworkdir}/junit-{envname}.xml \
|
||||||
--cov=dosagelib --cov-config=tox.ini --cov-branch \
|
--cov={envsitepackagesdir}/dosagelib \
|
||||||
|
--cov-branch \
|
||||||
|
--cov-config=tox.ini \
|
||||||
--cov-report=term \
|
--cov-report=term \
|
||||||
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
|
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
|
||||||
--cov-report=html:{toxworkdir}/cov-{envname} \
|
--cov-report=html:{toxworkdir}/cov-{envname} \
|
||||||
|
|
Loading…
Reference in a new issue