Merge "Display coverage report"
This commit is contained in:
commit
f0c7eca61b
@ -4,4 +4,4 @@ source = oslo_privsep
|
||||
omit = oslo_privsep/tests/*
|
||||
|
||||
[report]
|
||||
ignore-errors = True
|
||||
ignore_errors = True
|
||||
|
6
tox.ini
6
tox.ini
@ -33,13 +33,17 @@ commands =
|
||||
sphinx-build -W --keep-going -b html doc/source doc/build/html
|
||||
|
||||
[testenv:cover]
|
||||
deps = {[testenv]deps}
|
||||
coverage
|
||||
setenv =
|
||||
PYTHON=coverage run --source $project --parallel-mode
|
||||
PYTHON=coverage run --source oslo_privsep --parallel-mode
|
||||
commands =
|
||||
coverage erase
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report --show-missing
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
Loading…
x
Reference in New Issue
Block a user