-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathcodecov.yml
55 lines (49 loc) · 1.12 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
47
48
49
50
51
52
53
54
55
# See: https://docs.codecov.com/docs/codecov-yaml
# validate: curl -X POST --data-binary @codecov.yml https://codecov.io/validate
codecov:
notify:
require_ci_to_pass: true
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 0%
paths:
- "lib"
patch: # for pull requests
default:
target: 80%
threshold: 0%
paths:
- "lib"
parsers:
gcov:
branch_detection:
conditional: true
loop: true
method: false
macro: false
# excluding generated files and examples from the coverage report
ignore:
- "**/gen"
- "**/stub"
- "**/*.g.dart"
- "**/*.freezed.dart"
comment: # See: https://docs.codecov.io/docs/pull-request-comments
layout: "reach, diff, flags, tree, header, footer"
behavior: default
require_changes: false
component_management:
default_rules:
paths:
- "packages/*/lib/**"
- "!**/*.g.dart"
- "!**/*.freezed.dart"
individual_components:
- component_id: flutter_app
paths:
- "packages/flutter_app/lib"