Skip to content

Commit 6b29af2

Browse files
committed
Update tests.yml
1 parent 0450d49 commit 6b29af2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ jobs:
6868
run: vendor/bin/rector --dry-run
6969

7070
- name: Run tests
71-
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml
71+
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=junit.xml
72+
73+
- name: Upload test results to Codecov
74+
if: ${{ !cancelled() }}
75+
uses: codecov/test-results-action@v1
76+
with:
77+
token: ${{ secrets.CODECOV_TOKEN }}
7278

7379
- name: Send code coverage report to Codecov.io
7480
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)