Skip to content

Commit

Permalink
Test PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 30, 2023
1 parent 04330a7 commit 9291b26
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
# Should be the higest supported version, so we can use the newest tools
php-version: '8.2'
php-version: '8.3'
tools: composer, phpcs, psalm, composer-require-checker, composer-unused
# optional performance gain for psalm: opcache
extensions: ctype, date, filter, opcache, pcre, spl
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']

steps:
- name: Setup PHP, with composer and extensions
Expand Down Expand Up @@ -192,15 +192,15 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Run unit tests with coverage
if: ${{ matrix.php-versions == '8.2' }}
if: ${{ matrix.php-versions == '8.3' }}
run: vendor/bin/phpunit

- name: Run unit tests (no coverage)
if: ${{ matrix.php-versions != '8.2' }}
if: ${{ matrix.php-versions != '8.3' }}
run: vendor/bin/phpunit --no-coverage

- name: Save coverage data
if: ${{ matrix.php-versions == '8.2' }}
if: ${{ matrix.php-versions == '8.3' }}
uses: actions/upload-artifact@v3
with:
name: coverage-data
Expand All @@ -214,7 +214,7 @@ jobs:
fail-fast: true
matrix:
operating-system: [windows-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']

steps:
- name: Setup PHP, with composer and extensions
Expand Down

0 comments on commit 9291b26

Please sign in to comment.