Use constraints for coverage job
OpenStack CI supports now constraints in the coverage job - as a first job to check that the recent changes for zuul-cloner work correctly. Use constraints for cover environment. Change-Id: I3812776ab228bf28df9934273df7fe8ee0880660 Depends-On: I2c0fb1e9b5a51be409687d9cb85ee3ae70c1ce94changes/16/343016/1
parent
64fbbeda58
commit
a6c77639a1
4
tox.ini
4
tox.ini
|
@ -69,10 +69,6 @@ commands = bandit -r keystone -x tests
|
|||
[testenv:cover]
|
||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
||||
# 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 =
|
||||
find keystone -type f -name "*.pyc" -delete
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
|
Loading…
Reference in New Issue