-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
102 lines (97 loc) · 2.3 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
ignore:
- "testing.F90*"
- "**/extern/**"
codecov:
require_ci_to_pass: yes
branch: develop
coverage:
precision: 2
round: nearest
range: "60...98"
status:
project:
default:
target: 90%
unittest_core:
flags: unittest_core
target: 95%
paths:
- "!*/test/*"
- "!*/extern/*"
- "!*_test.[Ff]90"
- "!*_test.c"
- "!*/GNU/testing.F90*"
- "*/generated/GNU/*.[Ff]90"
- "*/src/*.[Ff]90"
- "*/src/*.c"
- "*/src/c_interfaces/*.c"
unittest_tests:
flags: unittest_tests
target: auto
threshold: 2
paths:
- "*/test/*.[Ff]90"
- "*/test/*.c"
- "*_test.[Ff]90"
- "*_test.c"
- "*/generated/GNU/test/*.[Ff]90"
- "*/src/test/*.[Ff]90"
- "*/src/test/*.c"
patch:
default:
target: 55%
unittest_core:
flags: unittest_core
target: 60%
paths:
- "!*/test/*"
- "!*/extern/*"
- "!*_test.[Ff]90"
- "!*_test.c"
- "!*/GNU/testing.F90"
- "*/generated/GNU/*.[Ff]90"
- "*/src/*.[Ff]90"
- "*/src/*.c"
- "*/src/c_interfaces/*.c"
unittest_tests:
flags: unittest_tests
target: auto
threshold: 2
paths:
- "*/test/*.[Ff]90"
- "*/test/*.c"
- "*_test.[Ff]90"
- "*_test.c"
- "*/generated/GNU/test/*.[Ff]90"
- "*/src/test/*.[Ff]90"
- "*/src/test/*.c"
# changes:
# default: off
# unittest_core: *unit_core
# unittest_tests: *unit_tests
flags:
# filter the folder(s) you wish to measure by that flag
unittest_core:
paths:
- "!*/test/*"
- "!*/extern/*"
- "!*_test.[Ff]90"
- "!*_test.c"
- "!*/GNU/testing.F90*"
- "*/generated/GNU/*.[Ff]90"
- "*/src/*.[Ff]90"
- "*/src/*.c"
- "*/src/c_interfaces/*.c"
unittest_tests:
paths:
- "*/test/*.[Ff]90"
- "*/test/*.c"
- "*_test.[Ff]90"
- "*_test.c"
- "*/generated/GNU/test/*.[Ff]90"
- "*/src/test/*.[Ff]90"
- "*/src/test/*.c"
comment:
layout: "reach, diff, flags, files"
behavior: default
branches: [master, develop]