Skip to content

Commit

Permalink
ci(reduced-coverage-thresholds-to-allow-faster-development-without-bl…
Browse files Browse the repository at this point in the history
…ocking-ci/cd-due-to-low-coverage.-set-project-threshold-to-50%-and-patch-threshold-to-10%,-making-it-highly-lenient-during-beta.): lower codecov thresholds for beta phase
  • Loading branch information
philip-ndikum committed Sep 21, 2024
1 parent 6e117ce commit 84a1f40
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# codecov.yml

coverage:
status:
project:
default:
target: auto
threshold: 5%
target: auto # Automatically adjusts based on the current project coverage
threshold: 80% # Allow up to an 80% drop in overall coverage during beta phase
# Note: This permits a large drop in overall project coverage during the fast-paced development phase.

patch:
default:
informational: true
informational: true # Informational only; won't fail the pipeline
target: 5% # Set a minimal target of 5% coverage for new code patches
threshold: 90% # Allow up to a 90% drop on new code coverage (extremely lenient)
# Note: This ensures that even with low coverage, the pipeline won’t block PRs, but you still get coverage insights.

parsers:
python:
include:
- "src/temporalscope/**" # Focus coverage checks only on main source files, excluding tests and docs for now

0 comments on commit 84a1f40

Please sign in to comment.