forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
64 lines (60 loc) · 1.31 KB
/
codecov.yml
File metadata and controls
64 lines (60 loc) · 1.31 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
codecov:
require_ci_to_pass: false
comment:
layout: "diff, flags, files"
behavior: default
require_changes: true
flags:
- contracts-bedrock-tests
- kona-unit
ignore:
- "op-e2e"
- "**/*.t.sol"
- "packages/contracts-bedrock/test/**/*.sol"
- "packages/contracts-bedrock/scripts/**/*.sol"
- "packages/contracts-bedrock/src/vendor/**/*.sol"
- "packages/contracts-bedrock/src/interfaces/**/*.sol"
# Kona ignores
- "kona/examples/**/*"
- "kona/**/test_util*"
- "kona/**/noop.rs"
coverage:
range: 80..100
round: down
precision: 1
status:
project:
default:
informational: true
# Kona unit tests
kona-unit:
threshold: 1%
informational: true
patch:
contracts:
base: auto
target: auto
threshold: 5%
informational: false
flags:
- contracts-bedrock-tests
# Kona patch coverage
kona-unit:
base: auto
target: auto
threshold: 5%
informational: true
only_pulls: true
flag_management:
individual_flags:
- name: contracts-bedrock-tests
paths:
- packages/contracts-bedrock/src
# Kona flags
- name: kona-unit
paths:
- kona
statuses:
- type: project
target: auto
threshold: 5%