CI fixes for Laravel 13 #106
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] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| php: [ '8.3', '8.4', '8.5' ] | |
| laravel: [ '10.48', '11.46', '11.50', '12.50', '12.56', '13.0', '13.5' ] | |
| name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: Installing PHP | |
| uses: shivammathur/setup-php@master | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: mbstring, json, sqlite3 | |
| tools: composer:v2 | |
| - name: Lock Laravel Version | |
| run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-update -v | |
| - name: Composer Install | |
| run: composer install --prefer-dist --no-progress --no-interaction | |
| - name: Run Tests | |
| run: php vendor/bin/phpunit --testdox |