Skip to content

Commit

Permalink
chore: use php 8.2 in pipeline and xdebug for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
le0m committed Jul 18, 2024
1 parent 57757da commit 7ad9baf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'
coverage: 'none'

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'
coverage: 'none'

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
run: 'composer dump-autoload --classmap-authoritative --no-cache'

- name: 'Run PHPUnit'
run: 'phpdbg -qrr vendor/bin/phpunit --coverage-clover=clover.xml'
run: 'composer run unit -- --coverage-clover=clover.xml'

- name: 'Export coverage results'
uses: 'codecov/codecov-action@v3'
Expand All @@ -151,7 +151,7 @@ jobs:
- name: 'Setup PHP'
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.1'
php-version: '8.2'
tools: 'composer'

- name: 'Discover Composer cache directory'
Expand Down

0 comments on commit 7ad9baf

Please sign in to comment.