Skip to content

Commit 7f78f6f

Browse files
Merge pull request #14 from TheDragonCode/andrey-helldar-patch-1
Added Laravel 12 support
2 parents d2bea10 + f2a63d5 commit 7f78f6f

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: true
1212
matrix:
1313
php: [ "8.2", "8.3", "8.4" ]
14-
laravel: [ "10.0", "11.0" ]
14+
laravel: [ "10.0", "11.0", "12.0" ]
1515

1616
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}, SQLite
1717

@@ -29,6 +29,9 @@ jobs:
2929
- name: Install dependencies
3030
run: composer require laravel/framework:^${{ matrix.laravel }}
3131

32+
- name: Touch database
33+
run: mkdir tests/tmp && touch tests/tmp/database.sqlite
34+
3235
- name: Execute tests
3336
run: vendor/bin/pest --group SQLite
3437

@@ -39,7 +42,7 @@ jobs:
3942
fail-fast: true
4043
matrix:
4144
php: [ "8.2", "8.3", "8.4" ]
42-
laravel: [ "10.0", "11.0" ]
45+
laravel: [ "10.0", "11.0", "12.0" ]
4346
mysql: [ "5.7", "8", "9" ]
4447

4548
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}, MySQL ${{ matrix.mysql }}
@@ -86,7 +89,7 @@ jobs:
8689
fail-fast: true
8790
matrix:
8891
php: [ "8.2", "8.3", "8.4" ]
89-
laravel: [ "10.0", "11.0" ]
92+
laravel: [ "10.0", "11.0", "12.0" ]
9093
psql: [ "12", "13", "14", "15", "16", "17" ]
9194

9295
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}, PostgreSQL ${{ matrix.psql }}

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"php": "^8.2",
4141
"composer-runtime-api": "^2.2",
4242
"dragon-code/support": "^6.13",
43-
"illuminate/config": "^10.0 || ^11.0",
44-
"illuminate/database": "^10.0 || ^11.0",
45-
"illuminate/support": "^10.0 || ^11.0"
43+
"illuminate/config": "^10.0 || ^11.0 || ^12.0",
44+
"illuminate/database": "^10.0 || ^11.0 || ^12.0",
45+
"illuminate/support": "^10.0 || ^11.0 || ^12.0"
4646
},
4747
"require-dev": {
4848
"ext-pdo": "*",
4949
"mockery/mockery": "^1.3.1",
50-
"orchestra/testbench": "^8.0 || ^9.0",
51-
"pestphp/pest": "^2.34"
50+
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
51+
"pestphp/pest": "^2.34 || ^3.0"
5252
},
5353
"minimum-stability": "stable",
5454
"prefer-stable": true,

phpunit.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
colors="true"
66
cacheDirectory=".phpunit.cache"
77
>
8-
<coverage>
9-
<report>
10-
<clover outputFile="build/logs/clover.xml"/>
11-
<html outputDirectory="build/logs/coverage"/>
12-
<text outputFile="build/logs/coverage.txt"/>
13-
</report>
14-
</coverage>
158
<testsuites>
169
<testsuite name="Test Suite">
1710
<directory>./tests</directory>

0 commit comments

Comments
 (0)