From fcde5a910f264d3a88265581db52c142edcbba8f Mon Sep 17 00:00:00 2001 From: Mark Shust Date: Wed, 3 Jun 2026 10:22:19 -0400 Subject: [PATCH] fix: raise memory_limit in release.sh test invocation bin/release.sh runs pest directly (not via `composer test`) to include the integration-destructive group, so it didn't pick up the memory_limit bump from #107. Default PHP CLI memory_limit (128M) is exhausted during paratest's parallel suite loader, aborting the release before any test runs. Mirror the composer-script fix by passing `-d memory_limit=2G` to the pest invocation here as well. Co-Authored-By: Claude Opus 4.7 (1M context) --- bin/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/release.sh b/bin/release.sh index 3903a4f8..5bdda8fc 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -60,7 +60,7 @@ echo " ✓ Tag ${TAG} available" echo "" echo "Running test suite (including integration-destructive group to verify clean install)..." -"$PHP_BIN" vendor/bin/pest --parallel || { +"$PHP_BIN" -d memory_limit=2G vendor/bin/pest --parallel || { echo "" echo "Error: Tests failed. Fix failing tests before releasing." exit 1