Print coverage report
... for easy reference. Also make sure old data is erased before executing tests. Change-Id: I49e736c7c3788e4c301fb6a0cf57c99d0d9bc280
This commit is contained in:
parent
e0442522a8
commit
54466e9061
2
tox.ini
2
tox.ini
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user