From 59d87e1c2f7364c4125e6874d1edc324b7927d5d Mon Sep 17 00:00:00 2001 From: David Perl Date: Wed, 14 May 2025 16:13:17 +0200 Subject: [PATCH] ci: no cov report with failed tests --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 66c1aae3..8bb1f20b 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -57,7 +57,7 @@ jobs: id: coverage run: | pip install coverage pytest pytest-random-order pytest-cov - pytest --cov --random-order --cov-branch --cov-report=xml tests/unit_tests/ + pytest --random-order --cov --cov-config=pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail tests/unit_tests/ - name: Upload coverage to Codecov uses: codecov/codecov-action@v5