Skip to content

Commit

Permalink
[#166] Replaced PHP coverage driver to use pcov. (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored May 3, 2024
1 parent 297ca2a commit 0b913e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: pcov
ini-values: pcov.directory=.

- name: Install dependencies
run: composer install
Expand All @@ -40,7 +42,7 @@ jobs:
continue-on-error: ${{ vars.CI_LINT_IGNORE_FAILURE == '1' }}

- name: Run tests
run: XDEBUG_MODE=coverage composer test-coverage
run: composer test-coverage
continue-on-error: ${{ vars.CI_TEST_IGNORE_FAILURE == '1' }}

- name: Upload coverage report as an artifact
Expand Down

1 comment on commit 0b913e8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.