Merge "testing: Run functional tests under [testenv:cover]"

This commit is contained in:
Zuul
2026-02-28 12:17:11 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -900,6 +900,9 @@
irrelevant-files: *nova-base-irrelevant-files
voting: false
- nova-tox-py312-threading
- openstack-tox-cover:
# Allow more time for unit and functional tests to run.
timeout: 4200
gate:
jobs:
- nova-live-migration
+4
View File
@@ -223,10 +223,14 @@ setenv =
PYTHON=coverage run --source nova --parallel-mode
# run the test with eventlet
OS_NOVA_DISABLE_EVENTLET_PATCHING=False
deps =
{[testenv]deps}
openstack-placement>=9.0.0.0b1
extras =
commands =
coverage erase
stestr run {posargs}
{[testenv:functional-without-sample-db-tests]commands}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml