Skip to content

Commit 3084692

Browse files
author
klapaudius
committed
add tests result to codecov
1 parent 6042417 commit 3084692

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
with:
4343
php_extensions: "xdebug"
4444
coverage_clover: "coverage.xml"
45-
log_junit: "junit.xml"
45+
args: --log-junit junit.xml
46+
47+
- name: Upload coverage to Codecov
48+
uses: codecov/codecov-action@v5
49+
env:
50+
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
4651

4752
- name: Upload test results to Codecov
4853
if: ${{ !cancelled() }}
4954
uses: codecov/test-results-action@v1
5055
with:
51-
token: ${{ secrets.CODECOV_ORG_TOKEN }}
52-
53-
- name: Upload coverage to Codecov
54-
uses: codecov/codecov-action@v5
55-
env:
56-
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
56+
token: ${{ secrets.CODECOV_ORG_TOKEN }}

0 commit comments

Comments
 (0)