add laravel compatibility #39
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: Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ["8.0", 8.1, 8.2, 8.3] | |
illuminate: [9, 10, 11] | |
exclude: | |
# Exclude incompatible PHP versions for Laravel 9 | |
- php: 8.3 | |
illuminate: 9 | |
# Exclude incompatible PHP versions for Laravel 10 | |
- php: "8.0" | |
illuminate: 10 | |
# Exclude incompatible PHP versions for Laravel 11 | |
- php: "8.0" | |
illuminate: 11 | |
- php: 8.1 | |
illuminate: 11 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Run tests on PHP: ${{ matrix.php }}, Illuminate: ${{ matrix.illuminate }}" | |
run: docker build . --build-arg PHP_VERSION=${{ matrix.php }} --build-arg ILLUMINATE_VERSION=${{ matrix.illuminate }} | |