Skip to content

Commit 7a8289d

Browse files
authored
laravel-11 (#8)
Co-authored-by: Ms_Natali <golubkova@greensight.ru>
1 parent 9444bb3 commit 7a8289d

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,27 @@ 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.*, 9.*]
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
2220
- laravel: 9.*
23-
testbench: ^7.0
21+
testbench: 7.*
22+
- laravel: 10.*
23+
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
26+
exclude:
27+
- laravel: 11.*
28+
php: 8.1
29+
30+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2431

25-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2632

2733
steps:
2834
- name: Checkout code
@@ -42,6 +48,6 @@ jobs:
4248
- name: Install dependencies
4349
run: |
4450
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
45-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
51+
composer update --prefer-stable --prefer-dist --no-interaction
4652
- name: Execute tests
4753
run: vendor/bin/pest

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": "MIT",
1212
"require": {
1313
"php": "^8.1",
14-
"illuminate/contracts": "^8.37 || ^9.0 || ^10.0",
14+
"illuminate/contracts": "^8.37 || ^9.0 || ^10.0 || ^11.0",
1515
"ensi/initial-event-propagation": "^0.2"
1616
},
1717
"autoload": {
@@ -25,7 +25,7 @@
2525
}
2626
},
2727
"require-dev": {
28-
"orchestra/testbench": "^6.23 || ^7.0 || ^8.0",
28+
"orchestra/testbench": "^6.0||^7.0||^8.0||^9.0",
2929
"pestphp/pest": "^1.22 || ^2.0",
3030
"pestphp/pest-plugin-laravel": "^1.1 || ^2.0",
3131
"spatie/laravel-ray": "^1.23",

0 commit comments

Comments
 (0)