Skip to content

Commit b0bac33

Browse files
committed
[skip ci] Fix laravel community build
FilesystemTest::testSharedGet() uses too much memory and crashes GA. It was already ignored by adding the `@skip` attribute, but the code changed and the replacement stopped working. Closes phpGH-12570
1 parent c3d2f51 commit b0bac33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ jobs:
341341
git rev-parse HEAD
342342
php /usr/bin/composer install --no-progress --ignore-platform-reqs
343343
# Hack to disable a test that hangs
344-
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("*/\n public function testSharedGet()", "* @group skip\n */\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
344+
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("public function testSharedGet()", "/** @group skip */\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
345345
export ASAN_OPTIONS=exitcode=139
346346
php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
347347
if [ $EXIT_CODE -gt 128 ]; then

0 commit comments

Comments
 (0)