test: raise memory_limit for the unit suite (512M)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
"psr-4": { "LIT\\MCP\\Tests\\": "tests/" }
|
"psr-4": { "LIT\\MCP\\Tests\\": "tests/" }
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "@php vendor/bin/phpunit",
|
"test": "@php -d memory_limit=512M vendor/bin/phpunit",
|
||||||
"lint": "@php vendor/bin/phpcs"
|
"lint": "@php vendor/bin/phpcs"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
bootstrap="tests/bootstrap.php"
|
bootstrap="tests/bootstrap.php"
|
||||||
colors="true">
|
colors="true">
|
||||||
|
<php>
|
||||||
|
<!-- 1597+ tests with Mockery/Brain Monkey need ~180 MB; the CLI default is 128 MB. -->
|
||||||
|
<ini name="memory_limit" value="512M"/>
|
||||||
|
</php>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="unit">
|
<testsuite name="unit">
|
||||||
<directory>tests/Unit</directory>
|
<directory>tests/Unit</directory>
|
||||||
|
|||||||
Reference in New Issue
Block a user