Fix the coverage HTML report
The coverage job is only showing partial results in the HTML version of the report. This patch corrects that by generating an HTML report with the combined results. Change-Id: I66b563d8d17a982ec3701626e8ac60c52a01a363
This commit is contained in:
parent
bb54b26c17
commit
d70b1d6da0
3
tox.ini
3
tox.ini
@ -32,6 +32,9 @@ commands =
|
||||
sh -c 'COVERAGE_FILE={toxinidir}/.coverage-functional OS_TEST_PATH={toxinidir}/octavia/tests/functional python setup.py testr --coverage --testr-args='{posargs}''
|
||||
coverage combine {toxinidir}/.coverage-py27 {toxinidir}/.coverage-functional
|
||||
coverage report --fail-under=80 --skip-covered
|
||||
# Generate a new HTML report with the combined results
|
||||
# otherwise the HTML report will only show partial results
|
||||
coverage html -d cover
|
||||
|
||||
[testenv:functional]
|
||||
setenv = OS_TEST_PATH={toxinidir}/octavia/tests/functional
|
||||
|
Loading…
x
Reference in New Issue
Block a user