forked from NIAEFEUP/uni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
37 lines (32 loc) · 927 Bytes
/
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
# see https://docs.codecov.io/docs/codecov-yaml
# Validation check:
# $ curl --data-binary @codecov.yml https://codecov.io/validate
ignore:
- "**/*.g.dart"
- "!**/lib/**" # ignore all files outside of lib
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
coverage:
precision: 0 # 2 = xx.xx%, 0 = xx%
round: up # how coverage is rounded: down/up/nearest
range: 40...100 # custom range of coverage colors from red -> yellow -> green
status:
project:
default:
informational: true
target: 70% # specify the target coverage for each commit status
threshold: 10% # allow this decrease on project
if_ci_failed: error
patch:
default:
informational: true
threshold: 50% # allow this decrease on patch
changes: false
github_checks:
annotations: false
comment:
layout: header, diff
require_changes: false
behavior: default