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