Fix coverage post job
Coverage job is run in post queue, so cannot use constraints currently. Use unconstrained install command to fix coverage post job. Failure: http://logs.openstack.org/fe/fe76b2f11f07d4c9f5a0f0ab117e05924e6babbe/post/horizon-coverage/18273d9/ Change-Id: I0c9e027ffbb926b3e4646c5b2cf1fec577a91d31
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -97,6 +97,10 @@ commands = {posargs}
|
|||||||
commands = {envpython} {toxinidir}/manage.py {posargs}
|
commands = {envpython} {toxinidir}/manage.py {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
# NOTE(jaegerandi): This target does not use constraints
|
||||||
|
# because upstream infra does not yet support it. Once that's fixed, we can
|
||||||
|
# drop the install_command.
|
||||||
|
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||||
commands =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run {toxinidir}/manage.py test horizon --settings=horizon.test.settings {posargs}
|
coverage run {toxinidir}/manage.py test horizon --settings=horizon.test.settings {posargs}
|
||||||
|
Reference in New Issue
Block a user