Replace codecov/test-results-action (#40718)

https://github.com/codecov/test-results-action
The repository now carries a deprecation warning and warns about upload
issues (which we seem to be hitting).
Migrate to the codecov action as recommended.

Testing: CI change
Fixes: Should hopefully fix CI errors.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender
2025-11-18 15:34:11 +01:00
committed by GitHub
parent 2028dabd2f
commit 403e3d49d0
4 changed files with 8 additions and 4 deletions

View File

@@ -195,8 +195,9 @@ jobs:
# We upload the test-results to Codecov to help us identify flaky unit-tests.
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
uses: codecov/codecov-action@v5
with:
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: unittests,unittests-linux,unittests-linux-${{ inputs.profile }}

View File

@@ -152,8 +152,9 @@ jobs:
# We upload the test-results to Codecov to help us identify flaky unit-tests.
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
uses: codecov/codecov-action@v5
with:
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: unittests,unittests-mac-arm64,unittests-mac-arm64-${{ inputs.profile }}

View File

@@ -171,8 +171,9 @@ jobs:
# We upload the test-results to Codecov to help us identify flaky unit-tests.
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
uses: codecov/codecov-action@v5
with:
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: unittests,unittests-mac,unittests-mac-${{ inputs.profile }}

View File

@@ -184,8 +184,9 @@ jobs:
# We upload the test-results to Codecov to help us identify flaky unit-tests.
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
uses: codecov/codecov-action@v5
with:
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: unittests,unittests-windows,unittests-windows-${{ inputs.profile }}