From 5d2146ec0f72bd27f7ccb895304f6503a69348fa Mon Sep 17 00:00:00 2001 From: Alessio Berti Date: Thu, 14 Mar 2024 14:03:36 +0100 Subject: [PATCH] Add codecov token to upload reports. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fd99b7f..b250231c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,3 +127,7 @@ jobs: coverage xml - uses: codecov/codecov-action@v4 + if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}