.github/workflows: allow codecov to report without failing CI build

### Describe Your Changes

The `fail_ci_if_error` flag only affects the upload step and does not
control
Codecov's status checks (e.g., codecov/patch, codecov/project). My prior
tests
did not surface this behavior.

Switched to 'informational' mode per Codecov docs to avoid blocking CI.
See:

https://docs.codecov.com/docs/common-recipe-list#set-non-blocking-status-checks

Tested in https://github.com/VictoriaMetrics/VictoriaMetrics/pull/9146

Follow up on
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/9139,
52022e482c
This commit is contained in:
Max Kotliar
2025-06-11 14:47:51 +03:00
committed by GitHub
parent bbf3ab099b
commit fd543883fa
2 changed files with 9 additions and 1 deletions

View File

@@ -91,7 +91,6 @@ jobs:
uses: codecov/codecov-action@v5
with:
files: ./coverage.txt
fail_ci_if_error: false
integration-test:
name: integration-test

9
codecov.yml Normal file
View File

@@ -0,0 +1,9 @@
# see https://docs.codecov.com/docs/common-recipe-list#set-non-blocking-status-checks
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true