Skip to content

Commit

Permalink
Start testing with PHP v8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
cicnavi committed Jan 27, 2025
1 parent 4c1f504 commit c4926b5
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 @@ -49,7 +49,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
# Should be the higest supported version, so we can use the newest tools
php-version: '8.3'
php-version: '8.4'
tools: composer, composer-require-checker, composer-unused, phpcs
extensions: ctype, date, dom, filter, hash, mbstring, openssl, pcre, soap, spl, xml
coverage: none
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.2', '8.3']
php-versions: ['8.2', '8.3', '8.4']
jwt-version: ['^3.4', '^4.0.2']

steps:
Expand Down Expand Up @@ -185,15 +185,15 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Run unit tests with coverage
if: ${{ matrix.php-versions == '8.3' && matrix.jwt-version == '^4.0.2' }}
if: ${{ matrix.php-versions == '8.4' && matrix.jwt-version == '^4.0.2' }}
run: vendor/bin/phpunit

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

- name: Save coverage data
if: ${{ matrix.php-versions == '8.3' && matrix.jwt-version == '^4.0.2' }}
if: ${{ matrix.php-versions == '8.4' && matrix.jwt-version == '^4.0.2' }}
uses: actions/upload-artifact@v4
with:
name: coverage-data
Expand All @@ -207,7 +207,7 @@ jobs:
fail-fast: true
matrix:
operating-system: [windows-latest]
php-versions: ['8.2', '8.3']
php-versions: ['8.2', '8.3', '8.4']
jwt-version: ['^3.4', '^4.0.2']

steps:
Expand Down

0 comments on commit c4926b5

Please sign in to comment.