Fix coverage
The current cover job is failing with the following error message > manage.py test: error: unrecognized arguments: --cover-xml Change-Id: I554300931d241fb82d4f204fd3fa120e37ee70b3
This commit is contained in:
parent
286e771be4
commit
e651928d1c
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue