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:
Lucas Alvares Gomes 2021-09-17 15:17:30 +01:00
parent 05e870489e
commit 3554ad53e2
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ setenv =
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage html -d cover --omit='*tests*'
coverage xml -o cover/coverage.xml
[testenv:docs]