Skip to content

Commit a1ab5dc

Browse files
committed
ci(tests): Update PHP version in CI configuration
- Change PHP version from 8.4 to 8.5 in tests.yml - Remove conflict declaration for pestphp/pest in composer.json - Update PHPUnit cache configuration in phpunit.xml.dist - Adjust cache directory and result file settings for better organization Signed-off-by: guanguans <[email protected]>
1 parent 4002af3 commit a1ab5dc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ windows-latest, macos-latest, ubuntu-latest ]
15-
php: [ 8.1, 8.4 ]
15+
php: [ 8.1, 8.5 ]
1616
dependency-version: [ prefer-stable ]
1717

1818
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@
8888
"tomasvotruba/type-coverage": "^2.1",
8989
"yamadashy/phpstan-friendly-formatter": "^1.3"
9090
},
91-
"conflict": {
92-
"pestphp/pest": "^4.0"
93-
},
9491
"suggest": {
9592
"symfony/var-dumper": "Required to use the the trait [WithDumpable]."
9693
},

phpunit.xml.dist

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
45
bootstrap="vendor/autoload.php"
5-
cacheResultFile=".build/phpunit/.phpunit.result.cache"
6+
cacheDirectory=".build/phpunit/"
7+
cacheResultFile=".build/phpunit/test-results"
68
colors="true"
79
failOnDeprecation="true"
10+
failOnPhpunitWarning="false"
811
failOnRisky="true"
912
failOnWarning="true"
10-
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
1113
>
1214
<php>
13-
<ini name="memory_limit" value="-1" />
14-
<env name="DUMP_LIGHT_ARRAY" value="" />
15-
<env name="DUMP_STRING_LENGTH" value="" />
15+
<ini name="error_reporting" value="-1"/>
16+
<env name="DUMP_LIGHT_ARRAY" value=""/>
17+
<env name="DUMP_STRING_LENGTH" value=""/>
1618
<!--<env name="APP_ENV" value="testing"/>
1719
<env name="APP_DEBUG" value="true"/>
20+
<env name="APP_KEY" value="base64:UZ5sDPZSB7DSLKY+DYlU8G/V1e/qW+Ag0WF03VNxiSg="/>
1821
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
1922
<env name="BCRYPT_ROUNDS" value="4"/>
2023
<env name="CACHE_STORE" value="array"/>

0 commit comments

Comments
 (0)