Skip to content

Commit f3c249a

Browse files
authored
Merge pull request #64 from ensi-platform/v8-laravel-11
laravel-11
2 parents b071ae2 + 1d0da5d commit f3c249a

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.github/workflows/run-tests.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,31 @@ 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.0, 8.1]
17-
laravel: [8.*, 9.*]
18-
stability: [prefer-lowest, prefer-stable]
15+
php: [8.0, 8.1, 8.2, 8.3]
16+
laravel: [8.*, 9.*, 10.*, 11.*]
1917
include:
2018
- laravel: 8.*
2119
testbench: ^6.23
2220
- laravel: 9.*
2321
testbench: 7.*
22+
- laravel: 10.*
23+
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
2429

25-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
30+
- laravel: 11.*
31+
php: 8.0
32+
- laravel: 11.*
33+
php: 8.1
34+
35+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2636

2737
steps:
2838
- name: Checkout code
@@ -42,6 +52,6 @@ jobs:
4252
- name: Install dependencies
4353
run: |
4454
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
45-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
55+
composer update --prefer-stable --prefer-dist --no-interaction
4656
- name: Execute tests
4757
run: vendor/bin/phpunit --testsuite Unit

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
"require": {
1717
"php": "^8.0",
1818
"elasticsearch/elasticsearch": "^8.0",
19-
"illuminate/support": "^8.0||^9.0||^10.0",
19+
"illuminate/support": "^8.0||^9.0||^10.0||^11.0",
2020
"webmozart/assert": "^1.11"
2121
},
2222
"require-dev": {
2323
"friendsofphp/php-cs-fixer": "^3.2",
2424
"mockery/mockery": "^1.4",
25-
"orchestra/testbench": "^6.0||^7.0||^8.0",
25+
"orchestra/testbench": "^6.0||^7.0||^8.0||^9.0",
2626
"php-parallel-lint/php-var-dump-check": "^0.5.0",
27-
"phpunit/phpunit": "^9.0||^10.0"
27+
"phpunit/phpunit": "^9.0||^10.0||^11.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

0 commit comments

Comments
 (0)