Skip to content

Commit 3c08bfa

Browse files
justinmk3laileni-aws
authored andcommitted
ci: codecov always fails aws#6146
## Problem codecov always fails for gumby/appcomposer: codecov/project/amazonqGumby — 75.29% (-3.93%) codecov/project/applicationcomposer — 82.69% (-0.…) Based on https://docs.codecov.com/docs/commit-status , the "default" item is just a name, it doesn't set defaults that are "inherited". ## Solution - rename the "default" project item to avoid confusion - duplicate the configuration for all project items.
1 parent e892c64 commit 3c08bfa

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

codecov.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,65 @@ coverage:
1212

1313
status:
1414
project:
15-
default:
16-
target: 70%
15+
# https://docs.codecov.com/docs/commit-status
16+
all:
17+
target: 80%
1718
threshold: 5%
1819
informational: true
20+
only_pulls: true
1921
codewhisperer:
2022
paths:
2123
- packages/core/src/codewhisperer/*
2224
flags:
2325
- 'codewhisperer'
26+
target: 80%
27+
threshold: 5%
28+
informational: true
29+
only_pulls: true
2430
amazonqFeatureDev:
2531
paths:
2632
- packages/core/src/amazonqFeatureDev/*
2733
flags:
2834
- 'amazonqFeatureDev'
35+
target: 80%
36+
threshold: 5%
37+
informational: true
38+
only_pulls: true
2939
amazonqGumby:
3040
paths:
3141
- packages/core/src/amazonqGumby/*
42+
target: 80%
43+
threshold: 5%
44+
informational: true
45+
only_pulls: true
3246
codewhispererChat:
3347
paths:
3448
- packages/core/src/codewhispererChat/*
49+
target: 80%
50+
threshold: 5%
51+
informational: true
52+
only_pulls: true
3553
applicationcomposer:
3654
paths:
3755
- packages/core/src/applicationcomposer/*
56+
target: 80%
57+
threshold: 5%
58+
informational: true
59+
only_pulls: true
3860
stepFunctions:
39-
target: 50%
40-
threshold: 10%
4161
paths:
4262
- packages/core/src/stepFunctions/*
63+
target: 50%
64+
threshold: 10%
65+
informational: true
66+
only_pulls: true
4367
threatComposer:
4468
paths:
4569
- packages/core/src/threatComposer/*
70+
target: 80%
71+
threshold: 5%
72+
informational: true
73+
only_pulls: true
4674
patch: false
4775
changes: false
4876

0 commit comments

Comments
 (0)