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
(cherry picked from commit f23b7d1fd1
)
This commit is contained in:
parent
74c83bdcae
commit
501ec2cce2
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