Browse Source

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
changes/23/474323/1
Major Hayden 2 years ago
parent
commit
39f070f4e7
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tox.ini

+ 1
- 1
tox.ini View File

@@ -23,7 +23,7 @@ commands =
23 23
 [testenv:functional]
24 24
 commands =
25 25
     coverage run -m pytest --capture=no --strict {posargs}
26
-    coverage report -m --omit="*/test*"
26
+    coverage report -m --omit="*/test*" --fail-under=99
27 27
 
28 28
 # environment used by the -infra templated docs job
29 29
 [testenv:venv]

Loading…
Cancel
Save