Merge pull request #1298 from jonnybarnes/1289-remove-php82-unit-tests

Remove PHP 8.2
This commit is contained in:
Jonny Barnes 2024-02-23 16:19:40 +00:00 committed by GitHub
commit 7efb474fb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,12 +9,6 @@ jobs:
name: PHPUnit test suite name: PHPUnit test suite
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.2', '8.3']
phpunit-versions: ['latest']
services: services:
postgres: postgres:
image: postgres:latest image: postgres:latest
@ -32,10 +26,10 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} php-version: '8.3'
extensions: mbstring, intl, phpredis, imagick extensions: mbstring, intl, phpredis, imagick
coverage: xdebug coverage: xdebug
tools: phpunit:${{ matrix.phpunit-versions }} tools: phpunit
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -51,9 +45,9 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ${{ steps.composer-cache.outputs.dir }} path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-php-8.3-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-php-${{ matrix.php-version }}-composer- ${{ runner.os }}-php-8.3-composer-
- name: Install Composer Dependencies - name: Install Composer Dependencies
run: composer install --quiet --no-ansi --no-interaction --no-progress run: composer install --quiet --no-ansi --no-interaction --no-progress