Skip to content

Commit 272466b

Browse files
committed
- Adding Laravel 13 support
1 parent b3c5bde commit 272466b

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ jobs:
1818
matrix:
1919
os: [ ubuntu-latest ]
2020
php: [ 8.4, 8.3, 8.2 ]
21-
laravel: [ 12.*, 11.*, 10.* ]
21+
laravel: [ 13.*, 12.*, 11.*, 10.* ]
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.*
@@ -30,6 +33,9 @@ jobs:
3033
- laravel: 10.*
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.3' && matrix.laravel == '11.*' && 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.3' && matrix.laravel == '11.*' && 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.3' && matrix.laravel == '11.*' && 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: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
],
2828
"require": {
2929
"php": "^8.2",
30-
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0",
31-
"javaabu/helpers": "^1.61"
30+
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
31+
"javaabu/helpers": "^1.70"
3232
},
3333
"suggest": {
3434
"javaabu/forms": "For the little buttons and table cells that are provided."
3535
},
3636
"require-dev": {
3737
"laravel/pint": "^1.14",
38-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.16 || ^10.0",
39-
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5"
38+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.16 || ^10.0 || ^11.0",
39+
"phpunit/phpunit": "^9.5 || ^10.5 || ^11.5.3 || ^12.5.8 || ^13.0.3"
4040
},
4141
"autoload": {
4242
"psr-4": {
@@ -61,6 +61,12 @@
6161
]
6262
}
6363
},
64+
"repositories": [
65+
{
66+
"type": "vcs",
67+
"url": "https://github.com/javaabu/laravel-settings.git"
68+
}
69+
],
6470
"minimum-stability": "dev",
6571
"prefer-stable": true
6672
}

0 commit comments

Comments
 (0)