Skip to content

Commit 74e75b4

Browse files
committed
Update coverage driver to pcov
1 parent 87b98fa commit 74e75b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/setup-php-composer/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ runs:
3030
extensions: ${{ inputs.extensions }}
3131
coverage: ${{ inputs.coverage }}
3232
tools: ${{ inputs.tools }}
33+
ini-values: pcov.directory=${{ github.workspace }}, pcov.exclude="vendor,tests,node_modules,assets,bin,back-compat,docs,svn"
3334

3435
- name: Setup composer cache
3536
uses: actions/cache@v3

.github/workflows/build-test-measure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ jobs:
350350
uses: ./.github/actions/setup-php-composer
351351
with:
352352
php-version: ${{ matrix.php }}
353-
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
353+
coverage: ${{ matrix.coverage && 'pcov' || 'none' }}
354354
tools: 'composer,phpunit:${{ matrix.phpunit }}'
355355

356356
- name: Setup NodeJS and NPM

0 commit comments

Comments
 (0)