|
1 | | -# Codecov configuration file |
2 | | -# This file configures code coverage reporting and requirements for the project |
3 | 1 | coverage: |
4 | | - |
5 | | - # Coverage status configuration |
6 | 2 | status: |
7 | | - |
8 | | - # Project-level coverage settings |
9 | 3 | project: |
10 | | - |
11 | | - # Default status check configuration |
12 | 4 | default: |
13 | | - |
14 | | - # The minimum required coverage value for the project |
15 | | - target: 80% |
16 | | - |
17 | | - # The allowed coverage decrease before failing the status check |
| 5 | + informational: true |
| 6 | + target: auto |
18 | 7 | threshold: 0% |
19 | | - |
20 | | - # Whether to run coverage checks only on pull requests |
21 | | - only_pulls: false |
22 | | - |
23 | | - # Patch-level coverage settings |
24 | 8 | patch: |
25 | | - |
26 | 9 | default: |
27 | | - |
28 | | - target: 80% |
| 10 | + informational: true |
| 11 | + target: auto |
29 | 12 | threshold: 0% |
30 | | - only_pulls: false |
31 | | - |
32 | | -component_management: |
33 | | - default_rules: |
34 | | - statuses: |
35 | | - - type: project |
36 | | - informational: true |
37 | | - - type: patch |
38 | | - informational: true |
39 | | - |
40 | | - individual_components: |
41 | | - - component_id: "internal/backoff" |
42 | | - paths: |
43 | | - - "internal/backoff/**" |
44 | | - |
45 | | - - component_id: "internal/bus" |
46 | | - paths: |
47 | | - - "internal/bus/**" |
48 | | - |
49 | | - - component_id: "internal/collector" |
50 | | - paths: |
51 | | - - "internal/collector/**" |
52 | | - |
53 | | - - component_id: "internal/command" |
54 | | - paths: |
55 | | - - "internal/command/**" |
56 | | - |
57 | | - - component_id: "internal/config" |
58 | | - paths: |
59 | | - - "internal/config/**" |
60 | | - |
61 | | - - component_id: "internal/datasource" |
62 | | - paths: |
63 | | - - "internal/datasource/**" |
64 | | - |
65 | | - - component_id: "internal/file" |
66 | | - paths: |
67 | | - - "internal/file/**" |
68 | | - |
69 | | - - component_id: "internal/grpc" |
70 | | - paths: |
71 | | - - "internal/grpc/**" |
72 | | - |
73 | | - - component_id: "internal/logger" |
74 | | - paths: |
75 | | - - "internal/logger/**" |
76 | | - |
77 | | - - component_id: "internal/model" |
78 | | - paths: |
79 | | - - "internal/model/**" |
80 | | - |
81 | | - - component_id: "internal/plugin" |
82 | | - paths: |
83 | | - - "internal/plugin/**" |
84 | | - |
85 | | - - component_id: "internal/resource" |
86 | | - paths: |
87 | | - - "internal/resource/**" |
88 | | - |
89 | | - - component_id: "internal/watcher" |
90 | | - paths: |
91 | | - - "internal/watcher/**" |
92 | | - |
93 | | - - component_id: "pkg/config" |
94 | | - paths: |
95 | | - - "pkg/config/**" |
96 | | - |
97 | | - - component_id: "pkg/files" |
98 | | - paths: |
99 | | - - "pkg/files/**" |
100 | | - |
101 | | - - component_id: "pkg/host" |
102 | | - paths: |
103 | | - - "pkg/host/**" |
104 | | - |
105 | | - - component_id: "pkg/id" |
106 | | - paths: |
107 | | - - "pkg/id/**" |
108 | | - |
109 | | - - component_id: "pkg/tls" |
110 | | - paths: |
111 | | - - "pkg/tls/**" |
112 | | - |
113 | | - - component_id: "cmd/agent" |
114 | | - paths: |
115 | | - - "cmd/agent/**" |
116 | | - |
117 | | - - component_id: "api" |
118 | | - paths: |
119 | | - - "api/**" |
120 | | - |
121 | | - |
122 | | -# Ignore files or packages matching their paths |
123 | | -ignore: |
124 | | - - '\.pb\.go$' # Excludes all protobuf generated files |
125 | | - - '\.gen\.go' # Excludes generated files |
126 | | - - '^fake_.*\.go' # Excludes fakes |
127 | | - - '^test/.*$' |
128 | | - - 'app.go' # app.go and main.go should be tested by integration tests. |
129 | | - - 'main.go' |
130 | | - # ignore metadata generated files |
131 | | - - 'metadata/generated_.*\.go' |
132 | | - # ignore wrappers around gopsutil |
133 | | - - 'internal/datasource/host' |
134 | | - - 'internal/watcher/process' |
135 | | - - 'pkg/nginxprocess' |
| 13 | + changes: false |
0 commit comments