mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use attribute for ignoring Laravel test
Apparently `@group` stopped working.
This commit is contained in:
parent
455a967934
commit
0e8205bd9a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -341,7 +341,7 @@ jobs:
|
||||||
git rev-parse HEAD
|
git rev-parse HEAD
|
||||||
php /usr/bin/composer install --no-progress --ignore-platform-reqs
|
php /usr/bin/composer install --no-progress --ignore-platform-reqs
|
||||||
# Hack to disable a test that hangs
|
# Hack to disable a test that hangs
|
||||||
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);'
|
php -r '$c = file_get_contents("tests/Filesystem/FilesystemTest.php"); $c = str_replace("public function testSharedGet()", "#[\\PHPUnit\\Framework\\Attributes\\Group('"'"'skip'"'"')]\n public function testSharedGet()", $c); file_put_contents("tests/Filesystem/FilesystemTest.php", $c);'
|
||||||
export ASAN_OPTIONS=exitcode=139
|
export ASAN_OPTIONS=exitcode=139
|
||||||
php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
|
php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
|
||||||
if [ $EXIT_CODE -gt 128 ]; then
|
if [ $EXIT_CODE -gt 128 ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue