Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@ coverage:
status:
project:
default:
target: auto
threshold: 1%
# Floor at 85% so normal drift (a few hard-to-unit-test editor paths)
# does not fail the check. Base project is ~95%, so there is plenty of
# headroom without ratcheting it tighter on every PR.
target: 85%
threshold: 2%
patch:
default:
target: auto
threshold: 1%
# Same 85% floor for added/changed lines. Editor-window callbacks
# (OnFocus, polling schedule) are not cleanly unit-testable, so we
# accept a handful of uncovered lines per PR instead of chasing
# auto-vs-base noise.
target: 85%
threshold: 2%
# Informational: show the comment (so reviewers see where coverage
# dropped) but never block the merge. The project check above still
# guards against real regressions.
informational: true

# Fix Docker container path prefix in coverage reports
# Unity test runner generates paths like /github/workspace/UnityProject/...
Expand Down
Loading