Fix tox cover to not fail
This changes the run of tox with cover, to just ammend cover output data.... the combine option seemed to be breaking the data and then the xml / html options did not work as a result. Change-Id: Ic600b55855cf74c1b6ed138fea5c4b7bb037de82 Closes-bug: #1628661
This commit is contained in:
parent
9935d46ea6
commit
f23b7d1fd1
3
tox.ini
3
tox.ini
|
@ -103,8 +103,7 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
|
|||
commands =
|
||||
coverage erase
|
||||
coverage run {toxinidir}/manage.py test horizon --settings=horizon.test.settings {posargs}
|
||||
coverage run {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings --exclude-dir=openstack_dashboard/test/integration_tests {posargs}
|
||||
coverage combine
|
||||
coverage run -a {toxinidir}/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings --exclude-dir=openstack_dashboard/test/integration_tests {posargs}
|
||||
coverage xml
|
||||
coverage html
|
||||
|
||||
|
|
Loading…
Reference in New Issue