Skip to content

Commit 3104e20

Browse files
Set coverage to fail if less than 90%
1 parent 61cd98d commit 3104e20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ deps =
2727
scikit-learn>=1.3.2,<1.4
2828
commands = pytest --cov={[base]package} \
2929
--cov-report term \
30-
--cov-report=xml
30+
--cov-report=xml \
31+
--cov-fail-under=90
3132

3233
[pytest]
3334
addopts = -ra -q

0 commit comments

Comments
 (0)