Merge "Cover report omits test files"

This commit is contained in:
Zuul 2021-04-07 11:06:32 +00:00 committed by Gerrit Code Review
commit e054debf84
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
[run] [run]
branch = True branch = True
source = validations-common source = validations_common
omit = validations_common/tests/*
[report] [report]
ignore_errors = True ignore_errors = True

View File

@ -115,7 +115,7 @@ passenv = *
[testenv:cover] [testenv:cover]
setenv = setenv =
PYTHON=coverage run --source validations_common --parallel-mode --branch PYTHON=coverage run --parallel-mode --branch
HOME={envdir} HOME={envdir}
commands = commands =
coverage erase coverage erase