Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Start testing PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Feb 13, 2024
1 parent f187328 commit 08ac695
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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, composer-require-checker, composer-unused, phpcs, psalm
# optional performance gain for psalm: opcache
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, posix, soap, spl, xml
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
# Should be the lowest supported version
php-version: '8.0'
php-version: '8.1'
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, posix, soap, spl, xml
tools: composer
coverage: none
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']
env:
CMDOTCOM_PHONE_NUMBER: ${{ secrets.CMDOTCOM_PHONE_NUMBER }}
CMDOTCOM_PRODUCT_KEY: ${{ secrets.CMDOTCOM_PRODUCT_KEY }}
Expand Down Expand Up @@ -197,15 +197,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@v4
with:
name: coverage-data
Expand All @@ -219,7 +219,7 @@ jobs:
fail-fast: true
matrix:
operating-system: [windows-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']
env:
CMDOTCOM_PHONE_NUMBER: ${{ secrets.CMDOTCOM_PHONE_NUMBER }}
CMDOTCOM_PRODUCT_KEY: ${{ secrets.CMDOTCOM_PRODUCT_KEY }}
Expand Down

0 comments on commit 08ac695

Please sign in to comment.