Use consistent commands for coverage

This updates the command executed in the cover target to make these
more consistent with the other repos. The main change is now we ensure
old data is erased before executing the steps.

Change-Id: I2c2b8a60ddfda9b8184e61113d11a7bdafe113c7
This commit is contained in:
Takashi Kajinami 2024-02-07 12:18:52 +09:00
parent 973498106f
commit 8a42e5ae40
1 changed files with 2 additions and 1 deletions

View File

@ -38,10 +38,11 @@ commands =
setenv =
PYTHON=coverage run --source oslo_policy --parallel-mode
commands =
coverage erase
stestr run --slowest {posargs}
coverage combine
coverage html -d cover
coverage report
coverage report --show-missing
[flake8]
show-source = True