Skip to content

Commit 99863f2

Browse files
committed
Add pcov run
1 parent 00fc17d commit 99863f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
php-version: '${{ matrix.php-versions }}'
3030
extensions: 'mbstring, intl'
3131
ini-values: 'post_max_size=256M, short_open_tag=On'
32-
coverage: xdebug
32+
coverage: pcov
3333
tools: 'php-cs-fixer, phpunit'
3434
- name: Validate composer.json and composer.lock
3535
run: composer validate
@@ -44,3 +44,7 @@ jobs:
4444
- name: Install dependencies
4545
if: steps.composer-cache.outputs.cache-hit != 'true'
4646
run: composer install --prefer-dist --no-progress --no-suggest
47+
- name: Setup and run PCOV
48+
run: |
49+
composer require pcov/clobber
50+
vendor/bin/pcov clobber

0 commit comments

Comments
 (0)