From 08ac69543c4d04c0466a2c781239ca7afe4f7ee7 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 14 Feb 2024 00:04:44 +0100 Subject: [PATCH] Start testing PHP 8.3 --- .github/workflows/php.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index fed8eac..5bb6c7b 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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 @@ -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 @@ -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 }} @@ -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 @@ -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 }}