Docs: Contributing now enforces 97% coverage
CI / lint (push) Successful in 28s
CI / quality (push) Successful in 28s
CI / typecheck (push) Successful in 39s
CI / benchmark-regression (push) Has been skipped
CI / security (push) Successful in 48s
CI / e2e_tests (push) Successful in 50s
CI / build (push) Successful in 1m0s
CI / integration_tests (push) Successful in 3m43s
CI / coverage (push) Successful in 7m36s
CI / unit_tests (push) Successful in 8m25s
CI / docker (push) Successful in 9s
CI / benchmark-publish (push) Successful in 21m30s
CI / lint (push) Successful in 28s
CI / quality (push) Successful in 28s
CI / typecheck (push) Successful in 39s
CI / benchmark-regression (push) Has been skipped
CI / security (push) Successful in 48s
CI / e2e_tests (push) Successful in 50s
CI / build (push) Successful in 1m0s
CI / integration_tests (push) Successful in 3m43s
CI / coverage (push) Successful in 7m36s
CI / unit_tests (push) Successful in 8m25s
CI / docker (push) Successful in 9s
CI / benchmark-publish (push) Successful in 21m30s
This commit is contained in:
+3
-3
@@ -317,7 +317,7 @@ All CI pipeline checks must pass. This includes, but is not limited to:
|
||||
- Static type checking.
|
||||
- Security scanning.
|
||||
- Test coverage must remain at or above the project-defined minimum threshold. The general
|
||||
minimum is **85%**. Individual projects may enforce a higher threshold — see the
|
||||
minimum is **97%**. Individual projects may enforce a higher threshold — see the
|
||||
[Project-Specific Guidelines](#project-specific-guidelines) section for this project's exact
|
||||
requirement.
|
||||
|
||||
@@ -1235,7 +1235,7 @@ session is missing required tooling, add the dependency to the session before re
|
||||
|
||||
**Coverage threshold:** Unit test coverage must remain above **97%** at all times. Coverage is
|
||||
measured with `nox -s coverage_report` and is enforced in CI. This threshold is stricter than
|
||||
the general minimum of 85% described in
|
||||
the general minimum of 97% described in
|
||||
[Review and Merge Requirements](#review-and-merge-requirements) — for this project, **97% is
|
||||
the enforced merge gate**. Pull Requests that cause coverage to drop below 97% will not be
|
||||
merged.
|
||||
@@ -1251,7 +1251,7 @@ project with the following project-specific details:
|
||||
- **Automated checks** are run via `nox`. The full suite (`nox` with no arguments) must pass,
|
||||
which includes unit tests, integration tests, type checking (Pyright), linting, formatting,
|
||||
and security scanning.
|
||||
- **Coverage gate:** 97% (not the general 85% minimum). Measured by `nox -s coverage_report`.
|
||||
- **Coverage gate:** 97% (not the general 97% minimum). Measured by `nox -s coverage_report`.
|
||||
- **Pre-commit hooks** (configured in `.pre-commit-config.yaml`) enforce commit quality
|
||||
locally. All hooks must pass before a commit is accepted. See
|
||||
[Commit Quality Enforcement](#commit-quality-enforcement) for setup instructions.
|
||||
|
||||
Reference in New Issue
Block a user