mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
9907328c5b
* Export coverage report to codecov Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Use orb and individual coverage files per module * Run go cover inside module directory to account for local rewrites Still try to upload using a single file, since orb docs seem to indicate if you have more than one file, you're going to need to run the orb multiple times. * Use correct filename * Don't do anything silly like appending a file to itself * Handle subtle differences between FreeBSD and Linux * Ignore opentelemetry-proto-gen files in exporters/otlp/internal * Does codecov orb leave current directory in a bad state? * Copy instead of move * Ignore generated protobuf code in jaeger exporter module Co-authored-by: Evan Torrie <evantorrie@users.noreply.github.com> Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
25 lines
411 B
YAML
25 lines
411 B
YAML
codecov:
|
|
require_ci_to_pass: yes
|
|
|
|
ignore:
|
|
- "exporters/otlp/internal/opentelemetry-proto-gen/**/*"
|
|
- "exporters/trace/jaeger/internal/gen-go/**/*"
|
|
|
|
coverage:
|
|
precision: 1
|
|
round: down
|
|
range: "70...100"
|
|
|
|
parsers:
|
|
gcov:
|
|
branch_detection:
|
|
conditional: yes
|
|
loop: yes
|
|
method: no
|
|
macro: no
|
|
|
|
comment:
|
|
layout: "reach,diff,flags,tree"
|
|
behavior: default
|
|
require_changes: no
|