Skip to content

ci(tests): Add Laravel 13.x support and update test workflow config #12

ci(tests): Add Laravel 13.x support and update test workflow config

ci(tests): Add Laravel 13.x support and update test workflow config #12

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.4, 8.5 ]
laravel: [ 12.x,13.x ]
statamic: [ ^6.0 ]
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Statamic ${{ matrix.statamic }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- 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 }}" --no-interaction --no-update
composer install --no-interaction
- name: Run tests
run: vendor/bin/phpunit