forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 4
/
codecov.yml
46 lines (42 loc) · 1.31 KB
/
codecov.yml
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
codecov:
require_ci_to_pass: false
comment:
layout: "diff, flags, files"
behavior: default
require_changes: true
flags:
- contracts-bedrock-tests
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"
# TODO: add coverage for MIPS64 back once tests are merged in
- "packages/contracts-bedrock/src/cannon/MIPS64.sol"
- "packages/contracts-bedrock/src/cannon/libraries/MIPS64Instructions.sol"
- "packages/contracts-bedrock/src/cannon/libraries/MIPS64State.sol"
- "packages/contracts-bedrock/src/cannon/libraries/MIPS64Syscalls.sol"
coverage:
status:
patch:
default:
target: auto # target coverage is equal to the PR base
threshold: 0% # coverage is not allowed to reduce vs. the PR base
base: auto
informational: true
enabled: true
project:
default:
informational: true
flag_management:
# Note: flags should have the same name as the circleci job in which they
# are uploaded.
individual_flags:
- name: contracts-bedrock-coverage
paths:
- packages/contracts-bedrock/src
statuses:
- type: patch
target: 100%