-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
31 lines (27 loc) · 868 Bytes
/
codecov.yml
File metadata and controls
31 lines (27 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
codecov:
require_ci_to_pass: true
coverage:
precision: 2
round: down
range: "50...90"
status:
project:
default:
target: auto # compare against previous commit automatically
threshold: 1% # allow up to 1% coverage drop
if_ci_failed: error
patch:
default:
target: 70% # new code in a PR must be at least 70% covered
threshold: 5%
if_ci_failed: error
comment:
layout: "condensed_header, condensed_files, condensed_footer"
behavior: default
require_changes: true
ignore:
- "cmd/**" # entrypoints, not unit-testable
- "internal/gui/**" # Wails binding layer; tested via Vitest frontend tests
- "internal/tui/**" # interactive terminal UI; coverage tracked separately
- "test/e2e/**" # e2e tests run separately
- "**/*_mock*.go"