Test coverage reporting and gating
This commit is contained in:
parent
577c25555e
commit
afdc395379
4
tox.ini
4
tox.ini
|
@ -6,8 +6,10 @@ usedevelop = True
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
mock
|
mock
|
||||||
|
coverage
|
||||||
commands =
|
commands =
|
||||||
python ironic_discoverd/test.py
|
coverage run --branch --include "ironic_discoverd*" ironic_discoverd/test.py
|
||||||
|
coverage report -m --fail-under 75
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
|
Loading…
Reference in New Issue