Skip to content

Commit 9cf529d

Browse files
authored
Merge pull request #174 from 5am-code/dev
Addition of Laravel 11 support and updated dependencies
2 parents b5b978c + 2294243 commit 9cf529d

File tree

3 files changed

+3378
-1779
lines changed

3 files changed

+3378
-1779
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run tests
22

3-
on: ['push', 'workflow_dispatch']
3+
on:
4+
- push
5+
- workflow_dispatch
46

57
jobs:
68
php-tests:
@@ -9,21 +11,24 @@ jobs:
911
strategy:
1012
fail-fast: false
1113
matrix:
12-
php:
13-
- '8.1'
14-
- '8.0'
15-
laravel:
16-
- '8.*'
17-
testbench:
18-
- '6.*'
19-
dependency-version:
20-
- 'prefer-stable'
21-
14+
php: ["8.0", "8.1", "8.2"]
15+
laravel: ["8.*", "11.*"]
16+
testbench: ["6.*", "9.*"]
17+
dependency-version: [prefer-stable]
2218
include:
23-
- laravel: '8.*'
24-
testbench: '6.*'
25-
26-
19+
- laravel: 8.*
20+
testbench: 6.*
21+
- laravel: 11.*
22+
testbench: 9.*
23+
exclude:
24+
- laravel: 11.*
25+
php: "8.0"
26+
- laravel: 11.*
27+
php: "8.1"
28+
- laravel: "8.*"
29+
testbench: "9.*"
30+
- laravel: "11.*"
31+
testbench: "6.*"
2732

2833
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest
2934

@@ -44,4 +49,4 @@ jobs:
4449
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4550
4651
- name: Execute tests
47-
run: vendor/bin/pest tests
52+
run: vendor/bin/pest tests

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
"require": {
2828
"php": "^8.0",
2929
"guzzlehttp/guzzle": "^7.0.1",
30-
"illuminate/support": "^8.0|^9.0|^10.0"
30+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
3131
},
3232
"require-dev": {
33-
"orchestra/testbench": "^6.0|^8.0",
34-
"pestphp/pest": "^1.22",
35-
"pestphp/pest-plugin-laravel": "^1.3",
36-
"phpunit/phpunit": "^9.0"
33+
"orchestra/testbench": "^6.0|^8.0|^9.0",
34+
"pestphp/pest": "^1.22|^2.34",
35+
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
36+
"phpunit/phpunit": "^9.0|^10.5"
3737
},
3838
"autoload": {
3939
"psr-4": {

0 commit comments

Comments
 (0)