Skip to content

Commit 22c9400

Browse files
authored
Add Laravel 11 Support on tests
Include **Laravel 11** and **PHP 8.3** on the test matrix
1 parent 21b94f6 commit 22c9400

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/run-tests.yml

+19-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: [7.3, 7.4, 8.0, 8.1, 8.2]
13-
laravel: [7.*, 8.*, 9.*, 10.*]
12+
php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
13+
laravel: [7.*, 8.*, 9.*, 10.*, 11.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 7.*
@@ -21,13 +21,19 @@ jobs:
2121
testbench: 7.*
2222
- laravel: 10.*
2323
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
2426
exclude:
2527
- laravel: 7.*
2628
php: 8.1
2729
- laravel: 7.*
2830
php: 8.2
31+
- laravel: 7.*
32+
php: 8.3
2933
- laravel: 8.*
3034
php: 8.2
35+
- laravel: 8.*
36+
php: 8.3
3137
- laravel: 9.*
3238
php: 7.3
3339
- laravel: 9.*
@@ -38,18 +44,26 @@ jobs:
3844
php: 7.4
3945
- laravel: 10.*
4046
php: 8.0
47+
- laravel: 11.*
48+
php: 7.3
49+
- laravel: 11.*
50+
php: 7.4
51+
- laravel: 11.*
52+
php: 8.0
53+
- laravel: 11.*
54+
php: 8.1
4155

4256
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
4357

4458
steps:
4559
- name: Checkout code
46-
uses: actions/checkout@v3
60+
uses: actions/checkout@v4
4761
with:
4862
ref: ${{ github.event.pull_request.head.sha }}
4963
fetch-depth: 0
5064

5165
- name: Cache dependencies
52-
uses: actions/cache@v3
66+
uses: actions/cache@v4
5367
with:
5468
path: ~/.composer/cache/files
5569
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -72,7 +86,7 @@ jobs:
7286

7387
# Upload coverage only for latest versions.
7488
- name: Upload coverage to scrutinizer-ci
75-
if: matrix.php == '8.2' && matrix.laravel == '10.*' && matrix.stability == 'prefer-stable'
89+
if: matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable'
7690
run: |
7791
vendor/bin/phpunit --testsuite Laravel --coverage-clover=coverage.clover
7892
vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)