[ci] Add codecov.yml to enforce 100% patch coverage on PRs (#16827)

This commit is contained in:
Jesse Hills
2026-06-05 19:40:18 +12:00
committed by GitHub
parent e209a3fa91
commit cbd3aaa1e0

18
codecov.yml Normal file
View File

@@ -0,0 +1,18 @@
coverage:
status:
patch:
default:
target: 100%
threshold: 0%
project:
default:
informational: true
ignore:
- "esphome/components/**/*"
- "esphome/analyze_memory/**/*"
- "tests/integration/**/*"
comment:
layout: "reach, diff, flags, files"
require_changes: true