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:
Michael Johnson 2022-05-04 22:45:10 +00:00
parent 6ac659d241
commit 69366b9209
1 changed files with 1 additions and 1 deletions

View File

@ -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