Skip to content

Merge pull request #63 from laravel-shift/l11-compatibility #31

Merge pull request #63 from laravel-shift/l11-compatibility

Merge pull request #63 from laravel-shift/l11-compatibility #31

Workflow file for this run

name: test
on:
- push
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
laravel: ['10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: 11.*
php: 8.1
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install composer dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Run PHPUnit
run: vendor/bin/phpunit