[CI] Make CodeCov less noisy (#19286)

This commit is contained in:
Mac Siri 2023-04-03 15:56:20 -04:00 committed by GitHub
parent ca89fbcec3
commit e3b6e5b08d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View file

@ -193,6 +193,7 @@ jobs:
- uses: codecov/codecov-action@v3
with:
flags: ruby
fail_ci_if_error: false
- name: Upload test results to BuildPulse for flaky test detection
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
uses: Workshop64/buildpulse-action@master
@ -233,6 +234,7 @@ jobs:
- uses: codecov/codecov-action@v3
with:
flags: jest, javascript
fail_ci_if_error: false
storybook:
runs-on: ubuntu-latest

View file

@ -1,6 +1,13 @@
# NB: Run the following command to verify this file is valid
# > cat codecov.yml | curl --data-binary @- https://codecov.io/validate
codecov:
ci:
- !buildkite
- "!buildkite"
require_ci_to_pass: no
notify:
wait_for_ci: no
after_n_builds: 12 # Actually we have 18 total but this ensure we get a (incomplete) result even if some failed to upload
ignore:
- "vendor"
- "bin"
@ -9,11 +16,10 @@ ignore:
- "lib/generators"
coverage:
status:
patch: 90%
patch:
default:
target: 90%
project: false
flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: auto
threshold: 1%