Skip to content

Commit

Permalink
Fix GitHub PHPUnit workflow
Browse files Browse the repository at this point in the history
* Remove the `--verbose` option since it was removed from PHPUnit 10.x
* Update phpunit.yml workflow Ubuntu version
* Add PHP 8.3 to the test matrix in the GitHub workflow file

Co-authored-by: Roberto Aguilar <[email protected]>
  • Loading branch information
scrubmx and roberto-aguilar committed Apr 12, 2024
1 parent 51ad637 commit f6c5006
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:

jobs:
linux_tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: true
matrix:
php: ['8.2']
php: ['8.2', '8.3']
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand All @@ -38,4 +38,4 @@ jobs:
command: composer update --${{ matrix.stability }} --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit

0 comments on commit f6c5006

Please sign in to comment.