generated from bsv-blockchain/go-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
56 lines (51 loc) · 1.24 KB
/
codecov.yml
File metadata and controls
56 lines (51 loc) · 1.24 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
# Reference: https://docs.codecov.com/docs/codecovyml-reference
# ----------------------
codecov:
require_ci_to_pass: true
# Coverage configuration
# ----------------------
coverage:
status:
patch: false
range: 70..90 # The First number represents red, and the second represents green
# (default is 70..100)
round: down # up, down, or nearest
precision: 2 # Number of decimal places, between 0 and 5
# Flag Management - Simple carryforward for everything
# ----------------------
flag_management:
default_rules:
carryforward: true # This keeps coverage from previous uploads
statuses:
- type: project
target: auto
threshold: 2%
# Ignoring Paths
# --------------
# which folders/files to ignore
ignore:
- ".github/**"
- ".mage-cache/**"
- ".vscode/**"
- "bin/**"
- "example/**"
- "examples/**"
- "mocks/**"
- "testing/**"
# Parsers
# --------------
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
# Pull request comments:
# ----------------------
# Diff is the Coverage Diff of the pull request.
# Files are the files impacted by the pull request
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: false