forked from keikoproj/addon-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
39 lines (37 loc) · 1.02 KB
/
Copy pathcodecov.yml
File metadata and controls
39 lines (37 loc) · 1.02 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
coverage:
range: "70...90"
round: down
precision: 2
status:
project:
default:
target: 50%
threshold: 1%
informational: true
paths:
- "!pkg/client/"
- "!api/addon/v1alpha1/zz_generated.*"
patch:
default:
target: 50%
informational: true
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: no
require_head: no
ignore:
- "**/zz_generated.*" # generated code
- "**/*_generated.go" # all generated code files
- "bin"
- "config"
- "hack"
- "pkg/addon/client" # generated code
- "pkg/client/**" # generated client code
- "**/apis/addon/v1alpha1/register.go" # boilerplate registration code
- "**/apis/**/doc.go" # documentation files
- "cmd/main.go" # main entry points with little testable logic
- "cmd/addonctl/main.go"
- "test-*/" # test directories themselves
- "api/addon/v1alpha1/addon_types.go" # API types don't need extensive testing