Merge "Use .coveragerc file"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2024-04-18 07:59:33 +00:00
commit 5fabff87d1
2 files changed
+10 -3

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
[run]
branch = True
source = ironic
omit = ironic/tests/*
[report]
ignore_errors = True
+3 -3
View File
@@ -64,13 +64,13 @@ commands =
[testenv:cover]
setenv = {[testenv]setenv}
PYTHON=coverage run --source ironic --omit='*tests*' --parallel-mode
PYTHON=coverage run --source ironic --parallel-mode
commands =
coverage erase
stestr run --parallel-class {posargs}
coverage combine
coverage report --omit='*tests*'
coverage html -d ./cover --omit='*tests*'
coverage report
coverage html -d ./cover
[testenv:genconfig]
sitepackages = False