Skip to content

Commit

Permalink
Fix: Use Xdebug instead of pcov for collecting code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 27, 2021
1 parent 90a7e5c commit 1a917c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integrate.yaml
Expand Up @@ -235,7 +235,7 @@ jobs:
- name: "Install PHP with extensions"
uses: "shivammathur/setup-php@2.16.0"
with:
coverage: "pcov"
coverage: "xdebug"
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

Expand All @@ -257,7 +257,7 @@ jobs:
with:
dependencies: "${{ matrix.dependencies }}"

- name: "Collect code coverage with pcov and phpunit/phpunit"
- name: "Collect code coverage with Xdebug and phpunit/phpunit"
run: "vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=.build/phpunit/logs/clover.xml"

- name: "Send code coverage report to Codecov.io"
Expand Down

0 comments on commit 1a917c6

Please sign in to comment.