@@ -5,73 +5,98 @@ codecov:
5
5
notify :
6
6
require_ci_to_pass : no
7
7
8
+ ignore :
9
+ - ' node_modules/'
10
+ - ' plugins/'
11
+ - ' scripts/'
12
+ - ' src.gen/'
13
+
8
14
coverage :
9
15
precision : 2
10
16
round : down
11
17
range : ' 70...100'
12
18
13
19
status :
14
20
project :
21
+ # Note: `default` measures the entire project.
22
+ # It does NOT define defaults "inherited" by other `project` items.
15
23
# https://docs.codecov.com/docs/commit-status
16
- all :
17
- target : 80%
18
- threshold : 5%
19
- informational : true
24
+ default :
25
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
26
+ target : 80
27
+ threshold : 5
20
28
only_pulls : true
21
29
codewhisperer :
30
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
22
31
paths :
23
- - packages/core/src/codewhisperer/*
32
+ - ' packages/core/src/codewhisperer/'
33
+ - ' packages/core/src/amazonq*/*'
34
+ - ' packages/amazonq/src/'
24
35
flags :
25
36
- ' codewhisperer'
26
- target : 80%
27
- threshold : 5%
28
- informational : true
37
+ target : 80
38
+ threshold : 5
29
39
only_pulls : true
30
40
amazonqFeatureDev :
41
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
31
42
paths :
32
- - packages/core/src/amazonqFeatureDev/*
43
+ - ' packages/core/src/amazonqFeatureDev/*'
33
44
flags :
34
45
- ' amazonqFeatureDev'
35
- target : 80%
36
- threshold : 5%
37
- informational : true
46
+ target : 80
47
+ threshold : 5
38
48
only_pulls : true
39
49
amazonqGumby :
50
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
40
51
paths :
41
- - packages/core/src/amazonqGumby/*
42
- target : 80%
43
- threshold : 5%
44
- informational : true
52
+ - ' packages/core/src/amazonqGumby/*'
53
+ target : 80
54
+ threshold : 5
45
55
only_pulls : true
46
56
codewhispererChat :
57
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
47
58
paths :
48
- - packages/core/src/codewhispererChat/*
49
- target : 80%
50
- threshold : 5%
51
- informational : true
59
+ - ' packages/core/src/codewhispererChat/*'
60
+ target : 80
61
+ threshold : 5
52
62
only_pulls : true
53
63
applicationcomposer :
64
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
54
65
paths :
55
- - packages/core/src/applicationcomposer/*
56
- target : 80%
57
- threshold : 5%
58
- informational : true
66
+ - ' packages/core/src/applicationcomposer/*'
67
+ target : 80
68
+ threshold : 5
59
69
only_pulls : true
60
70
stepFunctions :
71
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
61
72
paths :
62
- - packages/core/src/stepFunctions/*
63
- target : 50%
64
- threshold : 10%
65
- informational : true
73
+ - ' packages/core/src/stepFunctions/*'
74
+ target : 50
75
+ threshold : 10
66
76
only_pulls : true
67
77
threatComposer :
78
+ informational : true # Always pass. Ignore `target`, `threshold`, etc.
79
+ paths :
80
+ - ' packages/core/src/threatComposer/*'
81
+ target : 80
82
+ threshold : 5
83
+ only_pulls : true
84
+ tests :
85
+ # Most code in test/ should always be "covered"!
86
+ target : 95
68
87
paths :
69
- - packages/core/src/threatComposer/*
70
- target : 80%
71
- threshold : 5%
72
- informational : true
88
+ - ' **/test/**'
89
+ patch :
90
+ default :
91
+ # Note: `default` measures the entire project.
92
+ # It does NOT define defaults "inherited" by other `project` items.
93
+ # https://docs.codecov.com/docs/commit-status
94
+ target : 90
95
+ threshold : 5
73
96
only_pulls : true
74
- patch : false
97
+ informational : false # Fail if PR changes are not covered.
98
+ # branches:
99
+ # - master
75
100
changes : false
76
101
77
102
comment : false
@@ -82,7 +107,9 @@ github_checks:
82
107
flags :
83
108
codewhisperer :
84
109
paths :
85
- - packages/core/src/codewhisperer/
110
+ - ' packages/core/src/codewhisperer/'
111
+ - ' packages/core/src/amazonq*/*'
112
+ - ' packages/amazonq/src/'
86
113
amazonqFeatureDev :
87
114
paths :
88
- - packages/core/src/amazonqFeatureDev/
115
+ - ' packages/core/src/amazonqFeatureDev/'
0 commit comments