# Codecov configuration. Coverage is generated by the `coverage` job in
# .github/workflows/ci.yml (cargo-llvm-cov, lcov) and uploaded via OIDC.
coverage:
status:
project:
default:
# Compare against the PR base commit rather than a hard-coded number,
# so the floor tracks the real baseline without manual bumps.
target: auto
# Allow a small dip (rounding, incidental line shifts) before failing.
threshold: 1%
patch:
default:
# New/changed lines in a PR should be covered; a modest floor keeps it
# actionable without blocking on trivial untestable lines.
target: 80%
threshold: 5%
# Keep PR comments concise; the badge and status checks carry the summary.
comment:
layout: "reach, diff, flags"
require_changes: true