From 4e71a66bd35b4ad73d753d1d27dc43952a9915d2 Mon Sep 17 00:00:00 2001 From: Anno Knierim Date: Thu, 12 Feb 2026 16:29:01 +0100 Subject: [PATCH] ci: Update codecov action --- .github/workflows/ci.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce3c93f6..3daf97d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,19 +90,22 @@ jobs: - name: Tests if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false run: | - pytest -vv --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy + pytest -vv --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy -n auto - name: Upload coverage to Codecov if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false uses: codecov/codecov-action@v5 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: ${{ secrets.CODECOV_TOKEN }} + report_type: coverage - - name: Upload test results to Codecov - if: ${{ !cancelled() }} && contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false - uses: codecov/test-results-action@v1 + - name: Report Test Results + if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results + docs: runs-on: ubuntu-latest