Skip to content

Commit

Permalink
Enable xdebug in GitHub action phpunit runner
Browse files Browse the repository at this point in the history
  • Loading branch information
cspray committed May 30, 2024
1 parent c967197 commit 203d385
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Composer
uses: php-actions/composer@v5
uses: php-actions/composer@v6
with:
php_version: 8.2
- name: PHPUnit
uses: php-actions/phpunit@v2
uses: php-actions/phpunit@v3
with:
version: 10
php_version: 8.2
php_extensions: xdebug
- name: Code Lint
run: composer run-script code-lint
2 changes: 2 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<coverage>
<report>
<text outputFile="php://stdout"/>
<!--
<html outputDirectory="build/code-coverage/html" />
-->
</report>
</coverage>
<testsuites>
Expand Down

0 comments on commit 203d385

Please sign in to comment.