Widen the matrix a little, Laravel has been tracking PHP more closely… #8
Workflow file for this run
This file contains 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: Unit Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: ['8.2'] | |
laravel: [9.*, 10.*, 11.*] | |
include: | |
- php: 8.0 | |
laravel: 9.* | |
- php: 8.1 | |
laravel: 9.* | |
- php: 8.1 | |
laravel: 10.* | |
name: Unit Tests - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: mbstring, php-xml, sqlite3 | |
coverage: xdebug | |
- name: Install dependencies | |
run: | | |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update | |
composer update --prefer-dist --no-interaction | |
- name: Run test suite | |
run: composer run-script test |