Skip to content

Laravel 12.x Compatibility #129

Laravel 12.x Compatibility

Laravel 12.x Compatibility #129

Workflow file for this run

name: SQLite Tests
on:
- push
- pull_request
jobs:
laravel-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
dependency-stability: [prefer-stable]
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*', '12.*']
include:
- laravel: 6.*
testbench: 4.*
dbal: ^2.6
- laravel: 7.*
testbench: 5.*
dbal: ^2.6
- laravel: 8.*
testbench: 6.*
dbal: ^3.1.2|^2.13.3
- laravel: 9.*
testbench: 7.*
dbal: ^3.1.2
- laravel: 10.*
testbench: 8.*
dbal: ^3.1.2
- laravel: 11.*
testbench: 9.*
dbal: ^3.1.2
- laravel: 12.*
testbench: 10.*
dbal: ^4.2
exclude:
- laravel: 6.*
php-versions: 8.1
- laravel: 6.*
php-versions: 8.2
- laravel: 6.*
php-versions: 8.3
- laravel: 6.*
php-versions: 8.4
- laravel: 7.*
php-versions: 8.0
- laravel: 7.*
php-versions: 8.1
- laravel: 7.*
php-versions: 8.2
- laravel: 7.*
php-versions: 8.3
- laravel: 7.*
php-versions: 8.4
- laravel: 8.*
php-versions: 7.2
- laravel: 9.*
php-versions: 7.2
- laravel: 9.*
php-versions: 7.3
- laravel: 9.*
php-versions: 7.4
- laravel: 10.*
php-versions: 8.0
- laravel: 10.*
php-versions: 7.2
- laravel: 10.*
php-versions: 7.3
- laravel: 10.*
php-versions: 7.4
- laravel: 11.*
php-versions: 8.0
- laravel: 11.*
php-versions: 8.1
- laravel: 11.*
php-versions: 7.2
- laravel: 11.*
php-versions: 7.3
- laravel: 11.*
php-versions: 7.4
- laravel: 12.*
php-versions: 7.2
- laravel: 12.*
php-versions: 7.3
- laravel: 12.*
php-versions: 7.4
- laravel: 12.*
php-versions: 8.0
- laravel: 12.*
php-versions: 8.1
name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
steps:
- uses: actions/checkout@v4
- name: Install PHP versions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Get Composer Cache Directory 2
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: actions-cache
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install Laravel Dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "doctrine/dbal:${{ matrix.dbal }}" --no-interaction --no-update --dev
composer update --${{ matrix.dependency-stability }} --prefer-dist --no-interaction
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: :memory:

Check failure on line 127 in .github/workflows/run-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 127
run: vendor/bin/phpunit --testdox