Merge "Use .coveragerc file"
This commit is contained in:
commit
5fabff87d1
7
.coveragerc
Normal file
7
.coveragerc
Normal file
@ -0,0 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = ironic
|
||||
omit = ironic/tests/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
6
tox.ini
6
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user