Skip coverage floor check in partial CI test jobs.
Code Quality Pipeline / code-quality (pull_request) Successful in 48s
Test Python Package / integration-tests (pull_request) Successful in 47s
Test Python Package / coverage-report (pull_request) Failing after 15s
PR Title Check / check-title (pull_request) Successful in 5s
Test Python Package / unit-tests (pull_request) Successful in 21s

Unit and integration jobs each produce partial coverage; pytest-cov reads fail_under from pyproject.toml unless overridden with --cov-fail-under=0.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Brian Bjarke Jensen
2026-07-07 20:33:21 +02:00
co-authored by Cursor
parent 5393efc6cd
commit 34632980ba
+4 -2
View File
@@ -30,7 +30,8 @@ jobs:
run: | run: |
uv run pytest tests/unit/ -m "not integration" \ uv run pytest tests/unit/ -m "not integration" \
--cov=python_repositories \ --cov=python_repositories \
--cov-report= --cov-report= \
--cov-fail-under=0
- name: Upload unit coverage - name: Upload unit coverage
uses: https://github.com/christopherHX/gitea-upload-artifact@v4 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
@@ -66,7 +67,8 @@ jobs:
run: | run: |
uv run pytest -m integration \ uv run pytest -m integration \
--cov=python_repositories \ --cov=python_repositories \
--cov-report= --cov-report= \
--cov-fail-under=0
- name: Upload integration coverage - name: Upload integration coverage
uses: https://github.com/christopherHX/gitea-upload-artifact@v4 uses: https://github.com/christopherHX/gitea-upload-artifact@v4