-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathcodecov.yml
More file actions
35 lines (32 loc) · 853 Bytes
/
Copy pathcodecov.yml
File metadata and controls
35 lines (32 loc) · 853 Bytes
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
# Codecov configuration for TrustLend Soroban contracts
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
status:
project:
default:
# Allow coverage to drop by up to 2% before marking as failure.
# Smart contracts are hard to test exhaustively, so we tolerate small dips.
threshold: 2%
flags:
- rust-contracts
patch:
default:
# Require at least 1% coverage on new/changed lines.
threshold: 1%
flags:
- rust-contracts
flag_management:
individual_flags:
- name: rust-contracts
paths:
- contracts/
statuses:
- type: project
threshold: 2%
- type: patch
threshold: 1%
ignore:
# Exclude test helpers from coverage requirements
- "**/test.rs"
- "**/tests/**"
- "**/target/**"