Skip to content

Commit 2c5462c

Browse files
committed
Fix coverage script
1 parent d183e37 commit 2c5462c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,14 @@ jobs:
5656
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml ${{ matrix.php >= 8 && '--no-interaction' || '' }}
5757

5858
- name: Coverage
59-
uses: codecov/codecov-action@v3
59+
uses: codecov/codecov-action@v5
60+
with:
61+
token: ${{ secrets.CODECOV_TOKEN }}
6062

6163
- name: Code Climate Test Reporter
6264
if: ${{ env.CC_TEST_REPORTER_ID != '' }}
63-
run: |
64-
cp coverage.xml clover.xml
65-
bash <(curl -s https://codecov.io/bash)
65+
uses: paambaati/[email protected]
6666
env:
6767
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
68+
with:
69+
coverageLocations: ${{github.workspace}}/coverage.xml:clover

0 commit comments

Comments
 (0)