forked from open-telemetry/opentelemetry-operator
-
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.18 KB
/
Copy pathcodecov.yml
File metadata and controls
39 lines (37 loc) · 1.18 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
# Codecov configuration.
#
# Three kinds of data are uploaded from CI:
# * Unit-test code coverage (Go profile) from the "Continuous Integration"
# workflow, tagged with the `unittests` flag.
# * Target allocator integration-test coverage from the same workflow, tagged
# with the `integration` flag (it covers the otel-allocator packages via
# -coverpkg).
# * e2e JUnit results from the e2e workflow as Test Analytics
# (report_type: test_results) -- this is independent of code coverage.
#
# Coverage is reported for visibility but is informational only: it never posts a
# failing status that could block a merge, consistent with the e2e upload job
# being best-effort (continue-on-error).
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# Packages that exist solely to support tests and should not be counted towards
# production code coverage.
ignore:
- "internal/testenv"
- "cmd/otel-allocator/internal/conformance"
- "cmd/otel-allocator/integrationtest"
flags:
unittests:
paths:
- .
carryforward: true
integration:
paths:
- cmd/otel-allocator
carryforward: true