Require 99% test coverage or higher
This patch sets a requirement of 99% test coverage or the CI job will fail. This should force us to ensure we are testing as much of the plugins and the core of monitorstack as possible. Change-Id: I22aa19f0e0e4584c377e39f07c0aae2b0814d59a
This commit is contained in:
parent
3196132f76
commit
39f070f4e7
2
tox.ini
2
tox.ini
|
@ -23,7 +23,7 @@ commands =
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
commands =
|
commands =
|
||||||
coverage run -m pytest --capture=no --strict {posargs}
|
coverage run -m pytest --capture=no --strict {posargs}
|
||||||
coverage report -m --omit="*/test*"
|
coverage report -m --omit="*/test*" --fail-under=99
|
||||||
|
|
||||||
# environment used by the -infra templated docs job
|
# environment used by the -infra templated docs job
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
|
Loading…
Reference in New Issue