Display coverage report

... for easy reference. Also make sure old data is purged.

Change-Id: Ifc487ea4b45ee898066ac9c66820c3f14e5d37da
This commit is contained in:
Takashi Kajinami 2024-02-07 12:17:26 +09:00
parent 9b62848ffe
commit 4ceb5931aa

View File

@ -20,12 +20,14 @@ commands = {posargs}
[testenv:cover] [testenv:cover]
setenv = setenv =
PYTHON=coverage run --source oslo_concurrency --parallel-mode PYTHON=coverage run --source oslo_serialization --parallel-mode
commands = commands =
coverage erase
stestr run {posargs} stestr run {posargs}
coverage combine coverage combine
coverage html -d cover coverage html -d cover
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml
coverage report --show-missing
[testenv:docs] [testenv:docs]
allowlist_externals = rm allowlist_externals = rm