Skip to content

Commit abc0f99

Browse files
committed
- Adding Laravel 13 support
Signed-off-by: Arushad Ahmed <dash-8x@hotmail.com>
1 parent 43eb3e3 commit abc0f99

2 files changed

Lines changed: 23 additions & 11 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,24 @@ jobs:
1818
matrix:
1919
os: [ ubuntu-latest ]
2020
php: [ 8.4, 8.3, 8.2 ]
21-
laravel: [ 12.*, 11.*, ^10.2 ]
21+
laravel: [ 13.*, 12.*, 11.*, ^10.2 ]
2222
stability: [ prefer-lowest, prefer-stable ]
2323
include:
24+
- laravel: 13.*
25+
testbench: 11.*
26+
carbon: ^3.8.4
2427
- laravel: 12.*
2528
testbench: 10.*
2629
carbon: ^3.8.4
2730
- laravel: 11.*
28-
testbench: ^9.13
31+
testbench: ^9.16
2932
carbon: ^2.63
3033
- laravel: ^10.2
3134
testbench: 8.*
3235
carbon: ^2.63
36+
exclude:
37+
- laravel: 13.*
38+
php: 8.2
3339

3440
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3541

@@ -47,7 +53,7 @@ jobs:
4753
with:
4854
php-version: ${{ matrix.php }}
4955
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
50-
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
56+
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '13.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
5157

5258
- name: Install dependencies
5359
run: |
@@ -56,10 +62,10 @@ jobs:
5662
5763
- name: Execute tests
5864
run: |
59-
vendor/bin/phpunit ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable' && '--coverage-clover=clover.xml' || '' }}
65+
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' || '' }}
6066
6167
- name: Make code coverage badge
62-
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable'
68+
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '13.*' && matrix.stability == 'prefer-stable'
6369
uses: timkrase/phpunit-coverage-badge@v1.2.1
6470
with:
6571
coverage_badge_path: .github/coverage.svg

composer.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
],
2323
"require": {
2424
"php": "^8.2",
25-
"illuminate/support": "^10.2 || ^11.0 || ^12.0",
25+
"illuminate/support": "^10.2 || ^11.0 || ^12.0 || ^13.0",
2626
"spatie/laravel-medialibrary": "^11.12",
27-
"javaabu/helpers": "^1.65",
28-
"javaabu/activitylog": "^1.4",
29-
"javaabu/forms": "^1.38"
27+
"javaabu/helpers": "^1.70",
28+
"javaabu/activitylog": "^1.5",
29+
"javaabu/forms": "^1.67"
3030
},
3131
"require-dev": {
3232
"laravel/pint": "^1.14",
33-
"orchestra/testbench": "^8.0 || ^9.13 || ^10.0",
34-
"phpunit/phpunit": "^10.5 || ^11.5.3"
33+
"orchestra/testbench": "^8.0 || ^9.16 || ^10.0 || ^11.0",
34+
"phpunit/phpunit": "^10.5 || ^11.5.3 || ^12.5.8 || ^13.0.3"
3535
},
3636
"autoload": {
3737
"psr-4": {
@@ -53,6 +53,12 @@
5353
]
5454
}
5555
},
56+
"repositories": [
57+
{
58+
"type": "vcs",
59+
"url": "https://github.com/javaabu/laravel-settings.git"
60+
}
61+
],
5662
"minimum-stability": "dev",
5763
"prefer-stable": true
5864
}

0 commit comments

Comments
 (0)