mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-20 14:13:18 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
8e200181e7
commit
e48521bb47
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user