Skip to content

Commit 2086c7a

Browse files
authored
ci: upload test results using the recommended codecov action (#1396)
1 parent 1264ee1 commit 2086c7a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ jobs:
3939
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
4040
with:
4141
fail_ci_if_error: true
42-
verbose: true
42+
report_type: coverage
4343
token: ${{ secrets.CODECOV_TOKEN }}
44+
verbose: true

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ jobs:
7676
pytest tests/scenario_tests_async/ --junitxml=reports/test_scenario_async.xml
7777
- name: Upload test results to Codecov
7878
if: ${{ !cancelled() }}
79-
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
79+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
8080
with:
8181
directory: ./reports/
82+
fail_ci_if_error: true
8283
flags: ${{ matrix.python-version }}
84+
report_type: test_results
8385
token: ${{ secrets.CODECOV_TOKEN }}
8486
verbose: true
8587
notifications:

0 commit comments

Comments
 (0)