This is a backport of PR #12508 as merged into main (9947ec3ad1a0fb9f85b092a50b0866b3870e37ad).
The #11921 update broke uploading coverage of the main branch (or any in-repo pushes for that matter) to Codecov 4 months ago. Version 4 requires an upload token to be provided and since there was no configuration for it, the upload was failing. But the step itself was showing up as successful due to fail_ci_if_error: true being set. The error is visible in the console output, though.
This patch flips the setting to fail_ci_if_error: false and sets the Codecov upload token in the config in clear text. The non-secret part allows the PRs uploads to be more stable.
This is a backport of PR #12508 as merged into main (9947ec3ad1a0fb9f85b092a50b0866b3870e37ad).
The #11921 update broke uploading coverage of the
main
branch (or any in-repo pushes for that matter) to Codecov 4 months ago. Version 4 requires an upload token to be provided and since there was no configuration for it, the upload was failing. But the step itself was showing up as successful due tofail_ci_if_error: true
being set. The error is visible in the console output, though.This patch flips the setting to
fail_ci_if_error: false
and sets the Codecov upload token in the config in clear text. The non-secret part allows the PRs uploads to be more stable.