Coverage to omit the test files
Coverage should not include the test files as part the report. Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com> Change-Id: I77cafcc54b81587193d1a74024a565d7094bac40
This commit is contained in:
parent
05e870489e
commit
3554ad53e2
2
tox.ini
2
tox.ini
@ -34,7 +34,7 @@ setenv =
|
|||||||
commands =
|
commands =
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover --omit='*tests*'
|
||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
Loading…
Reference in New Issue
Block a user