From 3104e20c959ea4655ba42a503971f93893d6f159 Mon Sep 17 00:00:00 2001 From: jaimecespedes Date: Sun, 31 Mar 2024 20:42:36 +0200 Subject: [PATCH] Set coverage to fail if less than 90% --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c76375c..183d38f 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,8 @@ deps = scikit-learn>=1.3.2,<1.4 commands = pytest --cov={[base]package} \ --cov-report term \ - --cov-report=xml + --cov-report=xml \ + --cov-fail-under=90 [pytest] addopts = -ra -q