Skip to content

Commit

Permalink
support for Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
austintoddj committed Feb 17, 2023
1 parent ac62b14 commit 355a649
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,27 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [7.3, 7.4, 8.0, 8.1]
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
include:
- laravel: ^6.0
testbench: ^4.0
- laravel: ^7.0
testbench: ^5.0
- laravel: ^8.0
testbench: ^6.0
- laravel: ^9.0
testbench: ^7.0
php: [7.3, 7.4, '8.0', 8.1, 8.2]
laravel: [6, 7, 8, 9, 10]
exclude:
- php: 7.3
laravel: ^9.0
laravel: 9
- php: 7.3
laravel: 10
- php: 7.4
laravel: 9
- php: 7.4
laravel: ^9.0
laravel: 10
- php: '8.0'
laravel: 10
- php: 8.1
laravel: ^6.0
laravel: 6
- php: 8.1
laravel: ^7.0
laravel: 7
- php: 8.2
laravel: 6
- php: 8.2
laravel: 7

name: Laravel ${{ matrix.laravel }} on PHP ${{ matrix.php }}

Expand All @@ -52,7 +53,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework=${{ matrix.laravel }}" "orchestra/testbench=${{ matrix.testbench }}" --no-update
composer require "laravel/framework=${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"require": {
"php": "^7.3|^8.0",
"ext-json": "*",
"laravel/framework": "^6.0|^7.0|^8.0|^9.0"
"laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"laravel/legacy-factories": "^1.0",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.0"
},
"autoload": {
Expand Down

0 comments on commit 355a649

Please sign in to comment.