1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 02:48:57 +00:00

Replace deprecated test-results-action action with codecov-action

This commit is contained in:
Robert Resch
2025-12-16 14:25:26 +01:00
parent 412ee0da05
commit aeebfe359b

View File

@@ -1328,6 +1328,8 @@ jobs:
- pytest-postgres - pytest-postgres
- pytest-mariadb - pytest-mariadb
timeout-minutes: 10 timeout-minutes: 10
permissions:
id-token: write
# codecov/test-results-action currently doesn't support tokenless uploads # codecov/test-results-action currently doesn't support tokenless uploads
# therefore we can't run it on forks # therefore we can't run it on forks
if: | if: |
@@ -1339,8 +1341,9 @@ jobs:
with: with:
pattern: test-results-* pattern: test-results-*
- name: Upload test results to Codecov - name: Upload test results to Codecov
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1 uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with: with:
report_type: test_results
fail_ci_if_error: true fail_ci_if_error: true
verbose: true verbose: true
token: ${{ secrets.CODECOV_TOKEN }} use_oidc: true