Set a minimum coverage limit
Currently the code coverage check job has no minimum threshold. Let's set a minimum bar of 83% coverage or the job will fail. Currently we are around 85%, so this gives us some room. As coverage improves we can incrementally raise this bar. Change-Id: I3df49281619727ad0386f0cd8f8751bf272d2147
This commit is contained in:
parent
6ac659d241
commit
69366b9209
2
tox.ini
2
tox.ini
@ -66,9 +66,9 @@ commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
stestr run --no-subunit-trace {posargs}
|
||||
coverage combine
|
||||
coverage report --skip-covered
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report --fail-under=83 --skip-covered
|
||||
|
||||
[testenv:bandit]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user