Restore success snapshot coverage with lower memory limit

This commit is contained in:
Aleksandr Štšepelin
2026-03-25 23:59:29 +02:00
parent f7175ecfd7
commit 4b50cb486d
2 changed files with 46 additions and 3 deletions

View File

@ -12,9 +12,9 @@ test('visual snapshot of test suite on success', function () {
$output = function () use ($testsPath) {
$process = (new Process(
['php', '-d', 'memory_limit=512M', 'bin/pest', '--exclude-group=integration'],
['php', '-d', 'memory_limit=256M', 'bin/pest'],
dirname($testsPath),
['EXCLUDE' => 'integration', 'REBUILD_SNAPSHOTS' => false, 'PARATEST' => 0, 'COLLISION_PRINTER' => 'DefaultPrinter', 'COLLISION_IGNORE_DURATION' => 'true'],
['EXCLUDE' => 'integration', '--exclude-group' => 'integration', 'REBUILD_SNAPSHOTS' => false, 'PARATEST' => 0, 'COLLISION_PRINTER' => 'DefaultPrinter', 'COLLISION_IGNORE_DURATION' => 'true'],
));
$process->run();