PHP 8.2 build (#5999)

* PHP 8.2 build

* wip

* wip
This commit is contained in:
Dries Vints 2022-10-04 15:30:48 +02:00 committed by GitHub
parent e87bfd60ed
commit b47c4bc20d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,17 @@ jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ['8.0', 8.1]
stability: ['']
include:
- php: 8.2
stability: --ignore-platform-req=php+
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v3
@ -23,12 +34,12 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite
coverage: none
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction
run: composer install ${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Copy environment file
run: cp .env.example .env