Merge "Display coverage report"
This commit is contained in:
commit
c6cf187147
7
.coveragerc
Normal file
7
.coveragerc
Normal file
@ -0,0 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = oslo_rootwrap
|
||||
omit = oslo_rootwrap/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
4
tox.ini
4
tox.ini
@ -27,12 +27,14 @@ commands =
|
||||
deps = {[testenv]deps}
|
||||
coverage
|
||||
setenv =
|
||||
PYTHON=coverage run --source $project --parallel-mode
|
||||
PYTHON=coverage run --source oslo_rootwrap --parallel-mode
|
||||
commands =
|
||||
coverage erase
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user