Skip to content

Commit 45cee24

Browse files
committed
chore(ci): configure codecov
1 parent b8dd827 commit 45cee24

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ jobs:
3737
bootstrap: vendor/autoload.php
3838
configuration: phpunit.xml
3939
php_extensions: xdebug
40-
args: tests --coverage-clover ./coverage.xml
40+
args: --log-junit junit.xml
4141

42-
- name: Upload to Codecov
43-
uses: codecov/codecov-action@v2
42+
- name: Upload test results to Codecov
43+
if: ${{ !cancelled() }}
44+
uses: codecov/test-results-action@v1
4445
with:
45-
token: ${{ secrets.CODE_COV_TOKEN }}
46-
files: ./coverage.xml
47-
verbose: true
46+
token: ${{ secrets.CODECOV_TOKEN }}
4847

4948
phpstan:
5049
name: PHPStan

0 commit comments

Comments
 (0)