Skip to content

chore: drop Statamic 4 and PHP 8.2 support, update README #1068

chore: drop Statamic 4 and PHP 8.2 support, update README

chore: drop Statamic 4 and PHP 8.2 support, update README #1068

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
php-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.4, 8.3]
laravel: ['11.*', '12.*', '13.*']
statamic: ['5.*', '6.*']
include:
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*
- laravel: 13.*
testbench: 11.*
exclude:
- laravel: 13.*
statamic: 5.*
- laravel: 11.*
statamic: 6.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - S${{ matrix.statamic }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "statamic/cms:${{ matrix.statamic }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: composer test