codecov:
require_ci_to_pass: true
notify:
wait_for_ci: true
coverage:
precision: 1
round: down
range: "60...90"
status:
# For overall project coverage
project:
default:
target: 80% # Target coverage of 80%
threshold: 5% # Allow a 5% decrease without failing
informational: true # Start as informational until coverage improves
# For coverage of new/changed code in PRs
patch:
default:
target: 80%
threshold: 5% # Be a bit more lenient on PR patches
informational: true # Start as informational until coverage improves
# Don't fail if there are no changes
changes: no
# Configure PR comment
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false # Comment even if coverage doesn't change
require_base: false
require_head: true
hide_project_coverage: false # Show both project and diff coverage
# Ignore certain paths
ignore:
- "tests/**/*" # Don't count test files in coverage
- "supabase_mcp/_version.py" # Auto-generated version file