Skip to content

Commit 56b963c

Browse files
committed
ci(codecov): simplify codecov configuration
1 parent 7978fce commit 56b963c

File tree

2 files changed

+10
-96
lines changed

2 files changed

+10
-96
lines changed

.codecov.yml

Lines changed: 7 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,10 @@
1+
codecov:
2+
require_ci_to_pass: false
3+
14
comment:
25
layout: "condensed_header, diff, flags, components"
36

4-
component_management:
5-
individual_components:
6-
- component_id: crashtracker # this is an identifier that should not be changed
7-
name: datadog-crashtracker # this is a display name, and can be changed freely
8-
paths:
9-
- datadog-crashtracker
10-
- component_id: crashtracker-ffi # this is an identifier that should not be changed
11-
name: datadog-crashtracker-ffi # this is a display name, and can be changed freely
12-
paths:
13-
- datadog-crashtracker-ffi
14-
- component_id: datadog-alloc # this is an identifier that should not be changed
15-
name: datadog-alloc # this is a display name, and can be changed freely
16-
paths:
17-
- datadog-alloc
18-
- component_id: data-pipeline # this is an identifier that should not be changed
19-
name: data-pipeline # this is a display name, and can be changed freely
20-
paths:
21-
- data-pipeline
22-
- component_id: data-pipeline-ffi # this is an identifier that should not be changed
23-
name: data-pipeline-ffi # this is a display name, and can be changed freely
24-
paths:
25-
- data-pipeline-ffi
26-
- component_id: ddcommon # this is an identifier that should not be changed
27-
name: ddcommon # this is a display name, and can be changed freely
28-
paths:
29-
- ddcommon
30-
- component_id: ddcommon-ffi # this is an identifier that should not be changed
31-
name: ddcommon-ffi # this is a display name, and can be changed freely
32-
paths:
33-
- ddcommon-ffi
34-
- component_id: ddtelemetry # this is an identifier that should not be changed
35-
name: ddtelemetry # this is a display name, and can be changed freely
36-
paths:
37-
- ddtelemetry
38-
- component_id: ddtelemetry-ffi # this is an identifier that should not be changed
39-
name: ddtelemetry-ffi # this is a display name, and can be changed freely
40-
paths:
41-
- ddtelemetry-ffi
42-
- component_id: dogstatsd-client # this is an identifier that should not be changed
43-
name: dogstatsd-client # this is a display name, and can be changed freely
44-
paths:
45-
- dogstatsd-client
46-
- component_id: ipc # this is an identifier that should not be changed
47-
name: datadog-ipc # this is a display name, and can be changed freely
48-
paths:
49-
- datadog-ipc
50-
- component_id: profiling # this is an identifier that should not be changed
51-
name: datadog-profiling # this is a display name, and can be changed freely
52-
paths:
53-
- datadog-profiling
54-
- component_id: profiling-ffi # this is an identifier that should not be changed
55-
name: datadog-profiling-ffi # this is a display name, and can be changed freely
56-
paths:
57-
- datadog-profiling-ffi
58-
- component_id: sidecar # this is an identifier that should not be changed
59-
name: datadog-sidecar # this is a display name, and can be changed freely
60-
paths:
61-
- datadog-sidecar
62-
- component_id: sidecar-ffi # this is an identifier that should not be changed
63-
name: datdog-sidecar-ffi # this is a display name, and can be changed freely
64-
paths:
65-
- datadog-sidecar-ffi
66-
- component_id: spawn-worker # this is an identifier that should not be changed
67-
name: spawn-worker # this is a display name, and can be changed freely
68-
paths:
69-
- spawn_worker
70-
- component_id: tinybytes # this is an identifier that should not be changed
71-
name: tinybytes # this is a display name, and can be changed freely
72-
paths:
73-
- tinybytes
74-
- component_id: trace-normalization # this is an identifier that should not be changed
75-
name: datadog-trace-normalization # this is a display name, and can be changed freely
76-
paths:
77-
- datadog-trace-normalization
78-
- component_id: trace-obfuscation # this is an identifier that should not be changed
79-
name: datadog-trace-obfuscation # this is a display name, and can be changed freely
80-
paths:
81-
- datadog-trace-obfuscation
82-
- component_id: trace-protobuf # this is an identifier that should not be changed
83-
name: datadog-trace-protobuf # this is a display name, and can be changed freely
84-
paths:
85-
- datadog-trace-protobuf
86-
- component_id: trace-utils # this is an identifier that should not be changed
87-
name: datadog-trace-utils # this is a display name, and can be changed freely
88-
paths:
89-
- datadog-trace-utils
90-
- component_id: tracer-flare # this is an identifier that should not be changed
91-
name: datadog-tracer-flare # this is a display name, and can be changed freely
92-
paths:
93-
- datadog-tracer-flare
94-
- component_id: datadog-log
95-
name: datadog-log
96-
paths:
97-
- datadog-log
7+
coverage:
8+
precision: 2
9+
round: down
10+
range: "70...95"

.github/workflows/coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
cargo llvm-cov report --doctests --lcov --output-path lcov.info
3737
cargo clean
3838
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # 4.6.0
39+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # 5.5.1
40+
env:
41+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4042
with:
41-
token: ${{ secrets.CODECOV_TOKEN }}
4243
files: lcov.info
4344
fail_ci_if_error: true

0 commit comments

Comments
 (0)