run test suite with Laravel 9

This commit is contained in:
Niels Vanpachtenbeke 2022-01-19 10:43:42 +01:00
parent 6236dc3f5e
commit b8913dc139
2 changed files with 14 additions and 13 deletions

View File

@ -4,12 +4,13 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest]
php: [7.3, 7.4, 8.0, 8.1] php: [7.3, 7.4, 8.0, 8.1]
illuminate_version: [6.*, 8.*] illuminate_version: [6.*, 8.*, 9.*]
stability: [prefer-lowest, prefer-stable] stability: [prefer-lowest, prefer-stable]
exclude: exclude:
- illuminate_version: 6.* - illuminate_version: 6.*
@ -39,9 +40,9 @@ jobs:
# "Added PHP 8.1 Support from v8.67.0" # "Added PHP 8.1 Support from v8.67.0"
- illuminate_version: ^8.67.0 - illuminate_version: ^8.67.0
php: 8.1 php: 8.1
stability: 'prefer-stable' stability: prefer-stable
name: ${{ matrix.php }} | Illuminate ${{ matrix.illuminate_version }} | ${{ matrix.stability }} name: P${{ matrix.php }} | I ${{ matrix.illuminate_version }} | ${{ matrix.stability }}
steps: steps:
- name: Checkout code - name: Checkout code

View File

@ -13,15 +13,15 @@
"require": { "require": {
"php": "^7.3|^8.0", "php": "^7.3|^8.0",
"ext-simplexml": "*", "ext-simplexml": "*",
"illuminate/config": "^6.0 || ^8.0", "illuminate/config": "^6.0 || ^9.0",
"illuminate/container": "^6.0 || ^8.0", "illuminate/container": "^6.0 || ^9.0",
"illuminate/contracts": "^6.0 || ^8.0", "illuminate/contracts": "^6.0 || ^9.0",
"illuminate/database": "^6.0 || ^8.0", "illuminate/database": "^6.0 || ^9.0",
"illuminate/events": "^6.0 || ^8.0", "illuminate/events": "^6.0 || ^9.0",
"illuminate/http": "^6.0 || ^8.0", "illuminate/http": "^6.0 || ^9.0",
"illuminate/routing": "^6.0 || ^8.0", "illuminate/routing": "^6.0 || ^9.0",
"illuminate/support": "^6.0 || ^8.0", "illuminate/support": "^6.0 || ^9.0",
"illuminate/view": "^6.0 || ^8.0", "illuminate/view": "^6.0 || ^9.0",
"vimeo/psalm": "^4.8.1", "vimeo/psalm": "^4.8.1",
"orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.22 || ^7.0", "orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.22 || ^7.0",
"barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2" "barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2"