diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 779d387d..937a97c3 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