Enable branch coverage reporting
Additionally remove coverage files before the run, because they're not compatible with standard coverage results and could cause failures. Change-Id: I5937ed1b04bda0741b41972808107829f589ec9e
This commit is contained in:
parent
d137dda18a
commit
c813864421
@ -1,3 +1,6 @@
|
||||
[run]
|
||||
branch = True
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
pragma: no cover
|
||||
|
1
tox.ini
1
tox.ini
@ -11,6 +11,7 @@ setenv =
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
coverage erase
|
||||
python setup.py testr --coverage --slowest --testr-args='{posargs}'
|
||||
coverage combine
|
||||
coverage report -m
|
||||
|
Loading…
x
Reference in New Issue
Block a user