From a9f4eb45e501ad3efd472796d7d84c7132f7f6e5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 7 Aug 2017 08:41:01 +0900 Subject: [PATCH] Add coverage threshold Copied from neutron change [1] via networking-midonet. The threshold value is a bit arbitrarily chosen, considering the current coverage which is about 51%. [1] Ia30116fff8b834486bde93c329543fce15be429f Change-Id: Id7478534553e072b6c500540481ebf220a30c0d5 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index eae277e..e2e3129 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands = {posargs} basepython = python2.7 commands = python setup.py test --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}' - coverage report + coverage report --fail-under=50 --skip-covered [testenv:docs]