Skip to content

Commit

Permalink
Laravel 9 support (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Jan 12, 2022
1 parent a717da4 commit bd232b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0, 8.1]
laravel: [^8.0]
php: [7.3, 7.4, '8.0', 8.1]
laravel: [8, 9]
exclude:
- php: 7.3
laravel: 9
- php: 7.4
laravel: 9

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

Expand All @@ -30,7 +35,7 @@ jobs:
coverage: none

- name: Install dependencies
run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction
run: composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction

- name: Execute tests
run: vendor/bin/phpunit --verbose
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"php": "^7.3|^8.0",
"ext-json": "*",
"bacon/bacon-qr-code": "^2.0",
"illuminate/support": "^8.0",
"illuminate/support": "^8.0|^9.0",
"pragmarx/google2fa": "^7.0|^8.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^6.0",
"orchestra/testbench": "^6.0|^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
Expand Down

0 comments on commit bd232b9

Please sign in to comment.