Merge "Coverage considers other all main source folders, omits tests"

This commit is contained in:
Zuul 2021-04-08 21:19:52 +00:00 committed by Gerrit Code Review
commit 6251461e70
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
[run]
branch = True
source = tripleo-validations
source =
tripleo_validations
library
lookup_plugins
omit = tripleo-validations/openstack/*
[report]
ignore_errors = True
omit =
tripleo_validations/tests/*
tests/*

View File

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