Skip to content

Support Statamic 5 and Laravel 11 #369

Support Statamic 5 and Laravel 11

Support Statamic 5 and Laravel 11 #369

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
jobs:
php-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1]
laravel: [10.*]
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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-constraint || matrix.laravel }}" ${{ matrix.additional-deps }} --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Run PHPUnit tests
run: composer test