Skip to content

Commit a0a430d

Browse files
committed
- Adding Laravel 13 support
1 parent 18ec5bf commit a0a430d

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
matrix:
1818
os: [ ubuntu-latest ]
1919
php: [ 8.4, 8.3, 8.2, 8.1 ]
20-
laravel: [ 12.*, 11.*, 10.*, 9.* ]
20+
laravel: [ 13.*, 12.*, 11.*, 10.*, 9.* ]
2121
stability: [ prefer-lowest, prefer-stable ]
2222
include:
23+
- laravel: 13.*
24+
testbench: 11.*
25+
carbon: ^3.8.4
2326
- laravel: 12.*
2427
testbench: 10.*
2528
carbon: ^3.8.4
@@ -33,6 +36,10 @@ jobs:
3336
testbench: 7.*
3437
carbon: ^2.63
3538
exclude:
39+
- laravel: 13.*
40+
php: 8.2
41+
- laravel: 13.*
42+
php: 8.1
3643
- laravel: 12.*
3744
php: 8.1
3845
- laravel: 11.*
@@ -49,7 +56,7 @@ jobs:
4956
with:
5057
php-version: ${{ matrix.php }}
5158
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
52-
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
59+
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '13.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
5360

5461
- name: Install dependencies
5562
run: |
@@ -58,10 +65,10 @@ jobs:
5865
5966
- name: Execute tests
6067
run: |
61-
vendor/bin/phpunit ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable' && '--coverage-clover=clover.xml' || '' }}
68+
vendor/bin/phpunit ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '13.*' && matrix.stability == 'prefer-stable' && '--coverage-clover=clover.xml' || '' }}
6269
6370
- name: Make code coverage badge
64-
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable'
71+
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '13.*' && matrix.stability == 'prefer-stable'
6572
uses: timkrase/phpunit-coverage-badge@v1.2.1
6673
with:
6774
coverage_badge_path: .github/coverage.svg

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
],
1717
"require": {
1818
"php": "^8.1",
19-
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0",
20-
"javaabu/settings": "^1.6"
19+
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
20+
"javaabu/settings": "^1.7"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.16 || ^10.0",
24-
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5.3"
23+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.16 || ^10.0 || ^11.0",
24+
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5.3 || ^12.5.8 || ^13.0.3"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)