Print coverage report

... for easy reference. Also make sure old data is erased before
executing tests.

Change-Id: I49e736c7c3788e4c301fb6a0cf57c99d0d9bc280
This commit is contained in:
Takashi Kajinami 2024-02-07 12:28:39 +09:00
parent e0442522a8
commit 54466e9061

View File

@ -26,10 +26,12 @@ commands = {posargs}
setenv =
PYTHON=coverage run --source $project --parallel-mode
commands =
coverage erase
stestr run '{posargs}'
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
coverage report
[testenv:docs]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}