From a381d456501808f16e584e1c98e1f2b60af9391b Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Tue, 7 Jul 2026 20:39:08 +0200 Subject: [PATCH] Lower combined coverage floor from 95% to 90%. Update fail_under in pyproject.toml and the README to match. Co-authored-by: Cursor --- README.md | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a38bf1d..4542d32 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ uv run pytest -v # full suite (requires Doc Integration tests are marked with `@pytest.mark.integration` and require Docker (testcontainers). Run unit tests alone for quick local feedback. -CI runs unit and integration tests in parallel with coverage, then merges `.coverage` artifacts in a follow-up job (via [christopherhx/gitea-\*-artifact@v4](https://github.com/christopherHX/gitea-upload-artifact) for Gitea 1.26 compatibility). Combined coverage must be at least **95%**; the floor is set by [`fail_under` in `pyproject.toml`](pyproject.toml#L45-L48) and enforced after merging unit and integration coverage, not on unit-only runs. +CI runs unit and integration tests in parallel with coverage, then merges `.coverage` artifacts in a follow-up job (via [christopherhx/gitea-\*-artifact@v4](https://github.com/christopherHX/gitea-upload-artifact) for Gitea 1.26 compatibility). Combined coverage must be at least **90%**; the floor is set by [`fail_under` in `pyproject.toml`](pyproject.toml#L45-L48) and enforced after merging unit and integration coverage, not on unit-only runs. To check coverage locally (requires Docker for the full suite): diff --git a/pyproject.toml b/pyproject.toml index 27359f9..d9f2ef3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ markers = [ source = ["python_repositories"] [tool.coverage.report] -fail_under = 95 +fail_under = 90 show_missing = true precision = 2