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
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:
co-authored by
Cursor
parent
5393efc6cd
commit
34632980ba
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user