From 48eda4c44d7cf5e64ce4630f5d0f90e214092bc6 Mon Sep 17 00:00:00 2001 From: Stijn Kas <78410144+StijnKas@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:35:12 +0100 Subject: [PATCH] Fix codecov token issue * Bump codecov again, seeing if that helps * refer from env --- .github/workflows/Python tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Python tests.yml b/.github/workflows/Python tests.yml index f2a831db..04451410 100644 --- a/.github/workflows/Python tests.yml +++ b/.github/workflows/Python tests.yml @@ -13,7 +13,6 @@ on: - python/** - reports/*.qmd - .github/workflows/** - jobs: Tests: runs-on: ${{matrix.os}} @@ -81,7 +80,8 @@ jobs: run: uv run pytest --cov=./python/pdstools --cov-report=xml --cov-config=./python/tests/.coveragerc --ignore=python/tests/test_healthcheck.py --ignore=python/tests/test_ADMTrees.py - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5.1.1 + uses: codecov/codecov-action@v5.1.2 + env: + CODECOV_TOKEN: ${{ secrets.codecov_token }} with: - token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false