Skip to content

Commit 7a5607d

Browse files
authored
Merge pull request #34 from ensi-platform/laravel-11
laravel-11
2 parents 131b284 + 39e41a1 commit 7a5607d

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,32 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os }}
11+
runs-on: ubuntu-latest
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.1]
17-
laravel: [8.*]
18-
stability: [prefer-lowest, prefer-stable]
15+
php: [8.1, 8.2, 8.3]
16+
laravel: [8.*, 9.*, 10.*, 11.*]
1917
include:
2018
- laravel: 8.*
2119
testbench: ^6.23
20+
- laravel: 9.*
21+
testbench: 7.*
22+
- laravel: 10.*
23+
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
29+
30+
- laravel: 11.*
31+
php: 8.0
32+
- laravel: 11.*
33+
php: 8.1
34+
35+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2236

23-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2437

2538
steps:
2639
- name: Checkout code
@@ -40,6 +53,6 @@ jobs:
4053
- name: Install dependencies
4154
run: |
4255
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
56+
composer update --prefer-stable --prefer-dist --no-interaction
4457
- name: Execute tests
4558
run: vendor/bin/pest

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"pestphp/pest-plugin-laravel": "^1.1 || ^2.0",
3434
"php-parallel-lint/php-var-dump-check": "^0.5.0",
3535
"spatie/laravel-ray": "^1.23",
36-
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0"
36+
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.0"
3737
},
3838
"extra": {
3939
"laravel": {

0 commit comments

Comments
 (0)