forked from jaegertracing/jaeger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codecov.yml
More file actions
69 lines (56 loc) · 1.76 KB
/
.codecov.yml
File metadata and controls
69 lines (56 loc) · 1.76 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright (c) The Jaeger Authors
# SPDX-License-Identifier: Apache-2.0
# Validate config via:
# curl -X POST --data-binary @.codecov.yml https://codecov.io/validate
codecov:
notify:
require_ci_to_pass: yes
wait_for_ci: yes
strict_yaml_branch: main # only use the latest copy on the main branch
coverage:
precision: 2
round: down
range: '95...100'
status:
project:
default:
target: auto # Prevents Plexus from tanking the global status
# RELATIVE PROTECTION: This is the maximum allowed drop *below* the base commit's coverage.
# Setting this to 0% means the project coverage cannot drop at all,
# protecting against a negative delta from the base.
# Note: If the base coverage is 94%, setting target: 95% will still fail the PR.
threshold: 0%
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
jaeger-ui:
flags:
- jaeger-ui
target: 95% # The "Absolute Floor" for main UI
threshold: 0%
plexus:
flags:
- plexus
target: auto # Allows Plexus to start at 0% and grow
threshold: 0%
patch:
default:
only_pulls: true
# PR-LEVEL COVERAGE: Setting this to 'informational: true'
# means the patch coverage is calculated and displayed, but does not block the PR.
informational: true
if_no_uploads: error
if_not_found: success
if_ci_failed: error
flags:
jaeger-ui:
paths:
- 'packages/jaeger-ui/src/'
carryforward: true # see the breakdown in the PR
plexus:
paths:
- 'packages/plexus/src/'
carryforward: true
ignore:
- 'packages/jaeger-ui/src/utils/helpers/ReactShallowRenderer.js'