Skip to content

Commit 8cb65bb

Browse files
committed
Added Laravel 12 to GitHub actions
1 parent 079af28 commit 8cb65bb

File tree

2 files changed

+43
-17
lines changed

2 files changed

+43
-17
lines changed

.github/workflows/unittests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,35 @@ jobs:
4949
laravel: 11.*
5050
testbench: 9.*
5151
composer-flag: '--prefer-lowest'
52+
- php: 8.4
53+
laravel: 11.*
54+
testbench: 9.*
55+
composer-flag: '--prefer-stable'
56+
# Laravel 12.*
57+
- php: 8.2
58+
laravel: 12.*
59+
testbench: 10.*
60+
composer-flag: '--prefer-stable'
61+
- php: 8.3
62+
laravel: 12.*
63+
testbench: 10.*
64+
composer-flag: '--prefer-stable'
65+
- php: 8.4
66+
laravel: 12.*
67+
testbench: 10.*
68+
composer-flag: '--prefer-stable'
69+
- php: 8.2
70+
laravel: 12.*
71+
testbench: 10.*
72+
composer-flag: '--prefer-lowest'
73+
- php: 8.3
74+
laravel: 12.*
75+
testbench: 10.*
76+
composer-flag: '--prefer-lowest'
77+
- php: 8.4
78+
laravel: 12.*
79+
testbench: 10.*
80+
composer-flag: '--prefer-lowest'
5281
runs-on: ubuntu-latest
5382

5483
steps:

phpunit.xml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false"
3-
colors="true" processIsolation="false" stopOnFailure="false"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache"
5-
backupStaticProperties="false">
6-
<coverage>
7-
<include>
8-
<directory suffix=".php">src/</directory>
9-
</include>
10-
</coverage>
11-
<testsuites>
12-
<testsuite name="Feature">
13-
<directory>tests/Feature</directory>
14-
</testsuite>
15-
</testsuites>
16-
<php>
17-
<env name="DB_CONNECTION" value="testing"/>
18-
</php>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="Feature">
5+
<directory>tests/Feature</directory>
6+
</testsuite>
7+
</testsuites>
8+
<php>
9+
<env name="DB_CONNECTION" value="testing"/>
10+
</php>
11+
<source>
12+
<include>
13+
<directory suffix=".php">src/</directory>
14+
</include>
15+
</source>
1916
</phpunit>

0 commit comments

Comments
 (0)