Use constraints for coverage job
OpenStack CI supports now constraints in the coverage job - as a first job to check that recent changes for zuul-cloner work correctly. Use constraints for cover environment. If this works successfully, the other environments can be updated in followups. Change-Id: I6069bee0a89d38f6a3ec57418e7bda9850dc6f64
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -72,10 +72,6 @@ commands = oslopolicy-sample-generator --config-file=etc/nova/nova-policy-genera
|
|||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
# Also do not run test_coverage_ext tests while gathering coverage as those
|
||||||
# tests conflict with coverage.
|
# tests conflict with coverage.
|
||||||
# NOTE(sdague): 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
|
||||||
python setup.py testr --coverage \
|
python setup.py testr --coverage \
|
||||||
|
Reference in New Issue
Block a user