From a6140b3bb0d134d743bffa22e14d91808f26cdfc Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Wed, 23 Oct 2024 15:44:18 +0200 Subject: [PATCH] make coverage fail under 90 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a6d04258..b5cb43cb 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ commands = ruff check --respect-gitignore --preview . ruff format --respect-gitignore --preview --check . mypy . - sh -c 'if [ $SKIP_ALL_TESTS = 1 ]; then echo "Skipping coverage report"; else pytest --cov=gso --cov-report=xml --cov-report=html --cov-fail-under=85 -n auto {posargs}; fi' + sh -c 'if [ $SKIP_ALL_TESTS = 1 ]; then echo "Skipping coverage report"; else pytest --cov=gso --cov-report=xml --cov-report=html --cov-fail-under=90 -n auto {posargs}; fi' allowlist_externals = sh -- GitLab