Merge "Fix coverage"

This commit is contained in:
Zuul 2018-09-25 19:06:51 +00:00 committed by Gerrit Code Review
commit 87eca41e30
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@ commands = {posargs}
[testenv:cover]
basepython = python3
commands = {toxinidir}/manage.py test designatedashboard --settings=designatedashboard.tests.settings --cover-xml
commands =
coverage erase
coverage run {toxinidir}/manage.py test designatedashboard --settings=designatedashboard.tests.settings {posargs}
coverage xml --include 'designatedashboard/*' -o cover/coverage.xml
coverage html --include 'designatedashboard/*' -d cover
[testenv:docs]
basepython = python3