Skip to content

Commit 8892777

Browse files
committed
wip
1 parent fc2e1cb commit 8892777

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
os: [ubuntu-latest, windows-latest]
1616
php: [8.1]
1717
laravel: [9.*]
18+
coverage-driver: [pcov]
1819
stability: [prefer-lowest, prefer-stable]
1920
include:
2021
- laravel: 9.*
@@ -31,7 +32,7 @@ jobs:
3132
with:
3233
php-version: ${{ matrix.php }}
3334
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
34-
coverage: none
35+
coverage: ${{ matrix.coverage-driver }}
3536

3637
- name: Setup problem matchers
3738
run: |
@@ -44,4 +45,7 @@ jobs:
4445
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4546
4647
- name: Execute tests
47-
run: vendor/bin/phpunit
48+
run: vendor/bin/phpunit --coverage-clover=coverage.xml
49+
50+
- name: Send code coverage report to Codecov.io
51+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)