Skip to content

Commit

Permalink
ci: codecov always fails #6146
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
justinmk3 authored Dec 4, 2024
1 parent 92f9ae3 commit d74f96c
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,65 @@ coverage:

status:
project:
default:
target: 70%
# https://docs.codecov.com/docs/commit-status
all:
target: 80%
threshold: 5%
informational: true
only_pulls: true
codewhisperer:
paths:
- packages/core/src/codewhisperer/*
flags:
- 'codewhisperer'
target: 80%
threshold: 5%
informational: true
only_pulls: true
amazonqFeatureDev:
paths:
- packages/core/src/amazonqFeatureDev/*
flags:
- 'amazonqFeatureDev'
target: 80%
threshold: 5%
informational: true
only_pulls: true
amazonqGumby:
paths:
- packages/core/src/amazonqGumby/*
target: 80%
threshold: 5%
informational: true
only_pulls: true
codewhispererChat:
paths:
- packages/core/src/codewhispererChat/*
target: 80%
threshold: 5%
informational: true
only_pulls: true
applicationcomposer:
paths:
- packages/core/src/applicationcomposer/*
target: 80%
threshold: 5%
informational: true
only_pulls: true
stepFunctions:
target: 50%
threshold: 10%
paths:
- packages/core/src/stepFunctions/*
target: 50%
threshold: 10%
informational: true
only_pulls: true
threatComposer:
paths:
- packages/core/src/threatComposer/*
target: 80%
threshold: 5%
informational: true
only_pulls: true
patch: false
changes: false

Expand Down

0 comments on commit d74f96c

Please sign in to comment.