Skip to content

Commit

Permalink
Merge pull request #481 from ergebnis/fix/xdebug
Browse files Browse the repository at this point in the history
Fix: Use Xdebug instead of pcov for collecting code coverage
  • Loading branch information
ergebnis-bot committed Apr 20, 2021
2 parents ecedc74 + d96b5fe commit c2f07eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ jobs:
- name: "Install PHP with extensions"
uses: "shivammathur/setup-php@2.10.0"
with:
coverage: "pcov"
coverage: "xdebug"
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

Expand All @@ -284,7 +284,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 Expand Up @@ -312,7 +312,7 @@ jobs:
- name: "Install PHP with extensions"
uses: "shivammathur/setup-php@2.10.0"
with:
coverage: "pcov"
coverage: "xdebug"
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

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

- name: "Run mutation tests with pcov and infection/infection"
- name: "Run mutation tests with Xdebug and infection/infection"
run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}"

merge:
Expand Down

0 comments on commit c2f07eb

Please sign in to comment.