From f62941d60220cbc913ebe7dc87395030d036388c Mon Sep 17 00:00:00 2001 From: Martin Pfaller Date: Tue, 25 Nov 2025 16:41:08 -0500 Subject: [PATCH 1/2] report tests to codecov --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb8243c4a..2536a6f8c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: cmake -DENABLE_COVERAGE=ON .. make -j2 cd ../tests - python -m pytest -v --durations=0 --coverage --ignore=test_dirgraph.py + python -m pytest -v --durations=0 --coverage --ignore=test_dirgraph.py --junitxml=junit.xml -o junit_family=legacy cd ../Release make coverage @@ -75,6 +75,12 @@ jobs: uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload test results to Codecov + if: startsWith(matrix.os, 'ubuntu-latest') + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Build installer POSIX-like Systems if: ${{!startsWith(matrix.os, 'windows')}} From 7d041a7d2ba1f9e989f3530c7d9c3e45752a240f Mon Sep 17 00:00:00 2001 From: Martin Pfaller Date: Mon, 26 Jan 2026 17:25:58 -0500 Subject: [PATCH 2/2] use codecov-action@v5 --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2536a6f8c..0ab5d45b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,15 +72,16 @@ jobs: - name: Upload coverage reports to Codecov if: startsWith(matrix.os, 'ubuntu-latest') - uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Upload test results to Codecov if: startsWith(matrix.os, 'ubuntu-latest') - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report-type: test_results - name: Build installer POSIX-like Systems if: ${{!startsWith(matrix.os, 'windows')}}