Fix coverage collection in tox

This commit is contained in:
Tobias Gruetzmacher 2019-01-04 01:04:28 +01:00
parent 855e4d0614
commit 3a26737b03

View file

@ -5,7 +5,9 @@ envlist = py27, py34, py35, py36, py37, flake8
commands =
{envbindir}/py.test --tb=short \
--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=xml:{toxworkdir}/cov-{envname}.xml \
--cov-report=html:{toxworkdir}/cov-{envname} \