Support older version of Laravel #53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| # Test with Bref platform | |
| test-bref: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: [ 8.1, 8.2, 8.3, 8.4 ] | |
| laravel: [ 8.*, 9.*, 10.*, 11.*, 12.* ] | |
| lambda: [ 1.0, 2.0 ] | |
| stability: [ prefer-stable ] | |
| exclude: | |
| # Laravel 10 requires PHP 8.1+ | |
| - laravel: 10.* | |
| php: 8.0 | |
| # Laravel 11 requires PHP 8.2+ | |
| - laravel: 11.* | |
| php: 8.1 | |
| # Laravel 12 requires PHP 8.3+ | |
| - laravel: 12.* | |
| php: 8.1 | |
| - laravel: 12.* | |
| php: 8.2 | |
| name: P${{ matrix.php }} - L${{ matrix.laravel }} - lambda-${{ matrix.lambda }} - bref | |
| steps: | |
| - name: Checkout package code | |
| uses: actions/checkout@v5 | |
| - name: Run tests | |
| uses: ./.github/actions/test-action | |
| with: | |
| php-version: ${{ matrix.php }} | |
| laravel-version: ${{ matrix.laravel }} | |
| lambda-version: ${{ matrix.lambda }} | |
| platform: bref | |
| # Test with Vapor platform | |
| # test-vapor: | |
| # runs-on: ubuntu-latest | |
| # strategy: | |
| # fail-fast: false | |
| # matrix: | |
| # php: [ 8.1, 8.2, 8.3, 8.4 ] | |
| # laravel: [ 10.*, 11.*, 12.* ] | |
| # stability: [ prefer-stable ] | |
| # lambda: [ 1.0, 2.0 ] | |
| # exclude: | |
| # # Laravel 11 requires PHP 8.2+ | |
| # - laravel: 11.* | |
| # php: 8.1 | |
| # # Laravel 12 requires PHP 8.2+ | |
| # - laravel: 12.* | |
| # php: 8.1 | |
| # name: P${{ matrix.php }} - L${{ matrix.laravel }} - vapor | |
| # | |
| # steps: | |
| # - name: Checkout package code | |
| # uses: actions/checkout@v5 | |
| # | |
| # - name: Run tests | |
| # uses: ./.github/actions/test-action | |
| # with: | |
| # php-version: ${{ matrix.php }} | |
| # laravel-version: ${{ matrix.laravel }} | |
| # lambda-version: ${{ matrix.lambda }} | |
| # platform: vapor |