Skip to content

Commit d897372

Browse files
authored
Merge pull request #12 from ensi-platform/laravel-11
laravel-11
2 parents 7809fb0 + e85e578 commit d897372

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,25 @@ 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: [9.*]
18-
stability: [prefer-lowest, prefer-stable]
15+
php: [8.1, 8.2, 8.3]
16+
laravel: [9.*, 10.*, 11.*]
1917
include:
2018
- laravel: 9.*
21-
testbench: ^7.22
19+
testbench: 7.*
20+
- laravel: 10.*
21+
testbench: 8.*
22+
- laravel: 11.*
23+
testbench: 9.*
24+
exclude:
25+
- laravel: 11.*
26+
php: 8.1
27+
28+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2229

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

2531
steps:
2632
- name: Checkout code
@@ -30,7 +36,7 @@ jobs:
3036
uses: shivammathur/setup-php@v2
3137
with:
3238
php-version: ${{ matrix.php }}
33-
extensions: dom, curl, libxml, mbstring, zip, pcntl, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
39+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
3440
coverage: none
3541

3642
- name: Setup problem matchers
@@ -40,6 +46,6 @@ jobs:
4046
- name: Install dependencies
4147
run: |
4248
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
49+
composer update --prefer-stable --prefer-dist --no-interaction
4450
- name: Execute tests
4551
run: vendor/bin/pest

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
},
2727
"require-dev": {
2828
"friendsofphp/php-cs-fixer": "^3.14",
29-
"laravel/framework": "^8.40 || ^9.0 || ^10.0",
30-
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
29+
"laravel/framework": "^8.40 || ^9.0 || ^10.0 || ^11.0",
30+
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0",
3131
"pestphp/pest": "^1.22 || ^2.0"
3232
},
3333
"extra": {

0 commit comments

Comments
 (0)