@@ -436,7 +436,7 @@ jobs:
436
436
git rev-parse HEAD
437
437
php /usr/bin/composer install --no-progress --ignore-platform-reqs
438
438
export ASAN_OPTIONS=exitcode=139
439
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
439
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
440
440
if [ ${EXIT_CODE:-0} -gt 128 ]; then
441
441
X=1;
442
442
fi
@@ -453,7 +453,7 @@ jobs:
453
453
# Hack to disable a test that hangs
454
454
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);'
455
455
export ASAN_OPTIONS=exitcode=139
456
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
456
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit --exclude-group skip || EXIT_CODE=$?
457
457
if [ ${EXIT_CODE:-0} -gt 128 ]; then
458
458
exit 1
459
459
fi
@@ -469,7 +469,7 @@ jobs:
469
469
git rev-parse HEAD
470
470
php /usr/bin/composer install --no-progress --ignore-platform-reqs
471
471
export ASAN_OPTIONS=exitcode=139
472
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
472
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
473
473
if [ $[EXIT_CODE:-0} -gt 128 ]; then
474
474
X=1;
475
475
fi
@@ -484,7 +484,7 @@ jobs:
484
484
git rev-parse HEAD
485
485
php /usr/bin/composer install --no-progress --ignore-platform-reqs
486
486
export ASAN_OPTIONS=exitcode=139
487
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
487
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
488
488
if [ ${EXIT_CODE:-0} -gt 128 ]; then
489
489
exit 1
490
490
fi
@@ -504,7 +504,7 @@ jobs:
504
504
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
505
505
X=0
506
506
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
507
- php $GITHUB_WORKSPACE/.github/jit_check.php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
507
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
508
508
if [ ${EXIT_CODE:-0} -gt 128 ]; then
509
509
X=1;
510
510
fi
@@ -519,7 +519,7 @@ jobs:
519
519
export ASAN_OPTIONS=exitcode=139
520
520
export PHPSECLIB_ALLOW_JIT=1
521
521
php /usr/bin/composer install --no-progress --ignore-platform-reqs
522
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/paratest --verbose --configuration=tests/phpunit.xml --runner=WrapperRunner || exit $?
522
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/paratest --verbose --configuration=tests/phpunit.xml --runner=WrapperRunner || exit $?
523
523
- name : Test PHPUnit
524
524
if : always()
525
525
run : |
@@ -528,7 +528,7 @@ jobs:
528
528
git rev-parse HEAD
529
529
export ASAN_OPTIONS=exitcode=139
530
530
php /usr/bin/composer install --no-progress --ignore-platform-reqs
531
- php $GITHUB_WORKSPACE/.github/jit_check.php ./phpunit || EXIT_CODE=$?
531
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php ./phpunit || EXIT_CODE=$?
532
532
if [ ${EXIT_CODE:-0} -gt 128 ]; then
533
533
exit 1
534
534
fi
@@ -552,7 +552,7 @@ jobs:
552
552
sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php
553
553
sed -i 's/yourusernamehere/root/g' wp-tests-config.php
554
554
sed -i 's/yourpasswordhere/root/g' wp-tests-config.php
555
- php $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
555
+ php --repeat 2 -f $GITHUB_WORKSPACE/.github/jit_check.php vendor/bin/phpunit || EXIT_CODE=$?
556
556
if [ $EXIT_CODE -gt 128 ]; then
557
557
exit 1
558
558
fi
0 commit comments