Skip to content

Commit

Permalink
Merge pull request #14 from eXolnet/feature/support-laravel-9
Browse files Browse the repository at this point in the history
feat: add support for laravel 9
  • Loading branch information
Gandhi11 authored Feb 13, 2022
2 parents 8e382cf + f6dfcab commit f8d6387
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,32 @@ jobs:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0, 8.1]
laravel: [8.*]
laravel: [8.*, 9.*]
guzzle: [6.*, 7.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: 8.1
laravel: 8.*
dependency-version: prefer-lowest
- php: 7.3
laravel: 9.*
- php: 7.4
laravel: 9.*
- guzzle: 6.*
laravel: 9.*
include:
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*
#Testing php 8.1 with Laravel 8.74 as its lowest
- php: 8.1
laravel: ^8.74
dependency-version: prefer-lowest
testbench: 6.*
guzzle: 6.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - G${{ matrix.guzzle }} - ${{ matrix.dependency-version }}

steps:
- name: Checkout code
Expand All @@ -46,7 +56,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "guzzlehttp/guzzle:${{ matrix.guzzle }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"require": {
"php": "^7.3|^8.0",
"laravel/framework": "^8.0"
"laravel/framework": "^8.0|^9.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^6.3",
Expand Down

0 comments on commit f8d6387

Please sign in to comment.