[3.x] Laravel 11 support (#1180) #1825
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: CI | |
env: | |
COMPOSE_INTERACTIVE_NO_CLI: 1 | |
on: | |
push: | |
branches: [ 3.x ] | |
pull_request: | |
branches: [ 3.x ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- laravel: 9 | |
php: "8.0" | |
- laravel: 10 | |
php: "8.1" | |
- laravel: 11 | |
php: "8.3" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Start docker containers | |
run: PHP_VERSION=${{ matrix.php }} docker-compose up -d | |
- name: Install dependencies | |
run: docker-compose exec -T test composer require --no-interaction "laravel/framework:^${{ matrix.laravel }}.0" | |
- name: Run tests | |
run: ./test |