From 2ceb24e5d0569ad5ca0a9629da2f913221980623 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 27 Mar 2023 20:49:49 +0200 Subject: [PATCH] Fail CI if codecov upload fails (#90363) --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f4e04059d15..e4fd319e715 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1100,7 +1100,10 @@ jobs: if: needs.info.outputs.test_full_suite == 'true' uses: codecov/codecov-action@v3.1.1 with: + fail_ci_if_error: true flags: full-suite - name: Upload coverage to Codecov (partial coverage) if: needs.info.outputs.test_full_suite == 'false' uses: codecov/codecov-action@v3.1.1 + with: + fail_ci_if_error: true