From e48521bb476dc80c69010b2f9bf41f3aafccbc9a Mon Sep 17 00:00:00 2001 From: Sean Whalen <44679+seanthegeek@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:46:56 -0400 Subject: [PATCH] CI: replace deprecated codecov/test-results-action with codecov-action@v5 (#877) codecov/test-results-action@v1 emits two warnings on every test run: its bundled actions/github-script pin targets deprecated Node.js 20, and Codecov deprecated the action itself in favor of running codecov/codecov-action@v5 with report_type: test_results. Upload the JUnit results through the same codecov-action already used for coverage. Co-authored-by: Claude Fable 5 --- .github/workflows/python-tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 120212fa..a6b92b67 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -95,11 +95,14 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false - name: Upload test results to Codecov - # Feeds Codecov Test Analytics (flaky-test detection, per-test - # history). Runs even on test failure so failed cases still get + # Feeds Codecov Test Analytics (flaky-test detection, per-test + # history). Runs even on test failure so failed cases still get # reported. Uses the same CODECOV_TOKEN as the coverage upload. + # codecov/test-results-action is deprecated in favor of running + # codecov-action a second time with report_type: test_results. if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + report_type: test_results files: ./junit.xml