Merge "Display coverage report"
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -24,10 +24,12 @@ commands = flake8
|
|||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source os_collect_config --parallel-mode
|
PYTHON=coverage run --source os_collect_config --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
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|||||||
Reference in New Issue
Block a user