From d93d4de2d56bacf6fd32f3ee3f18494ea38d05f0 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 2 Aug 2024 15:42:50 +0200 Subject: [PATCH] CI: use a token for the Codecov action to upload (#657) This is required now, it was a breaking change in `codecov-action@v4`. Follows up on a comment on PR 479. --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e654cd75f..18d4cfefd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -138,6 +138,8 @@ jobs: - name: Upload coverage report uses: codecov/codecov-action@v4 if: ${{ always() }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} msvc: runs-on: windows-latest