From 6ea3e740607297a9800a6ef24d6c07dfae1c873d Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sat, 18 Feb 2017 19:52:37 +0100 Subject: Include missing unit tests to test runner config We were not running those tests in CI, bad :( --- setup.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 06346852c..0b0b18beb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,11 @@ universal=1 [nosetests] -tests=roles/openshift_master_facts/test/, test/ +tests=roles/lib_openshift/src/test/unit, + roles/lib_utils/src/test/unit, + roles/openshift_master_facts/test, + test +exe=1 # TODO(rhcarvalho): unset executable bits in test files and remove this verbosity=2 with-coverage=1 cover-html=1 -- cgit v1.2.3 From 218af8732f39cb5e129be8bdb9c7ae4a8e9f6067 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Sat, 18 Feb 2017 18:25:57 -0500 Subject: Unset exec bit in tests, add missing requirements was: separate lib_ unit tests from other unit tests --- setup.cfg | 1 - 1 file changed, 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 0b0b18beb..d8e2bc609 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,6 @@ tests=roles/lib_openshift/src/test/unit, roles/lib_utils/src/test/unit, roles/openshift_master_facts/test, test -exe=1 # TODO(rhcarvalho): unset executable bits in test files and remove this verbosity=2 with-coverage=1 cover-html=1 -- cgit v1.2.3 From fd7c9750cc344ae48abfc48c13f1b1d84ef077b8 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sun, 19 Feb 2017 16:02:04 +0100 Subject: Temporarily lower the bar for minimum coverage Running tests from `roles/lib_openshift` and `roles/lib_utils` uncovers the current lower coverage. Need to fix that and raise the bar again. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index d8e2bc609..757d3ddea 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,7 +13,7 @@ verbosity=2 with-coverage=1 cover-html=1 cover-inclusive=1 -cover-min-percentage=70 +cover-min-percentage=25 cover-erase=1 detailed-errors=1 cover-branches=1 -- cgit v1.2.3