summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMajor Hayden <major@mhtx.net>2017-06-14 14:08:54 -0500
committerMajor Hayden <major@mhtx.net>2017-06-14 14:08:59 -0500
commit39f070f4e70cb26e0c4878dc8796ad35eff1506c (patch)
tree2536e3f0b6e2c9907f75978efa862a01ab887524
parent3196132f765e0f8f38d69e264a4012590aa23cac (diff)
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
Notes
Notes (review): Code-Review+2: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Code-Review+2: Kevin Carter (cloudnull) <kevin@cloudnull.com> Workflow+1: Kevin Carter (cloudnull) <kevin@cloudnull.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 14 Jun 2017 19:39:40 +0000 Reviewed-on: https://review.openstack.org/474323 Project: openstack/monitorstack Branch: refs/heads/master
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7dacb45..cef4c06 100644
--- a/tox.ini
+++ b/tox.ini
@@ -23,7 +23,7 @@ commands =
23[testenv:functional] 23[testenv:functional]
24commands = 24commands =
25 coverage run -m pytest --capture=no --strict {posargs} 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# environment used by the -infra templated docs job 28# environment used by the -infra templated docs job
29[testenv:venv] 29[testenv:venv]