diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6956902..aa68a0a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,4 +28,4 @@ jobs: - name: Run tests with coverage run: | - pytest --cov=app --cov-report=term-missing --cov-fail-under=85 + pytest --cov=app --cov-report=term-missing --cov-fail-under=80 diff --git a/README.md b/README.md index d97d491..8e4fec1 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ pytest --cov=app --cov-report=term-missing 2) Coverage gate in CI - GitHub Actions workflow runs on pushes and PRs, testing Python 3.10–3.12. -- The job fails if line coverage for `app` drops below 85%. +- The job fails if line coverage for `app` drops below 80%. 3) What is covered - Core function `get_metrics` and the `/metrics` Flask endpoint are tested with `psutil` mocked.