-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path.codecov.yml
More file actions
55 lines (50 loc) · 1.08 KB
/
.codecov.yml
File metadata and controls
55 lines (50 loc) · 1.08 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
codecov:
require_ci_to_pass: true
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 1%
base: auto
patch:
default:
target: auto
threshold: 1%
base: auto
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: true
ignore:
# Generated code
- "**/zz_generated*.go"
- "**/generated.pb.go"
- "**/generated.proto"
- "**/mock_*.go"
- "**/fake_*.go"
- "**/testdata/**"
- "**/api/v1alpha1/*_types.go" # API types are generated
- "**/vendor/**"
- "**/third_party/**"
# Test helpers and test files
- "**/*_test.go"
- "**/test/**"
- "**/test-bdd/**"
# Low value code directories
- "controllers/common/log/**" # Log helpers
- "cmd/**" # Command entry points
- "pkg/log/**" # Log utilities
- "hack/**" # Scripts and utilities
- "config/**" # Configuration
- "docs/**" # Documentation