Merge "Enable coverage HTML output"

This commit is contained in:
Zuul 2021-07-16 15:08:39 +00:00 committed by Gerrit Code Review
commit 8792ec74d8
1 changed files with 4 additions and 4 deletions

View File

@ -30,16 +30,16 @@ commands = {posargs}
[testenv:cover]
setenv =
{[testenv]setenv}
PYTHON=coverage run --parallel-mode
PYTHON=coverage run --source sushy_oem_idrac --omit='*tests*' --parallel-mode
# After running this target, visit sushy_oem_idrac/cover/index.html
# in your browser, to see a nicer presentation report with annotated
# HTML listings detailing missed lines.
commands = coverage erase
stestr run {posargs}
coverage combine
coverage report
coverage html
coverage xml -o cover/coverage.xml
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
coverage xml -o cover/coverage.xml --omit='*tests*'
[testenv:docs]
commands = python setup.py build_sphinx