From b47c4bc20df5b8adc85c3017014937994fd41448 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 4 Oct 2022 15:30:48 +0200 Subject: [PATCH] PHP 8.2 build (#5999) * PHP 8.2 build * wip * wip --- .github/workflows/tests.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 779d387d8..937a97c3a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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