Skip to content

Commit 8bc1435

Browse files
committed
Repeat all nightlies too
1 parent 211e9ce commit 8bc1435

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/nightly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ jobs:
436436
git rev-parse HEAD
437437
php /usr/bin/composer install --no-progress --ignore-platform-reqs
438438
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=$?
440440
if [ ${EXIT_CODE:-0} -gt 128 ]; then
441441
X=1;
442442
fi
@@ -453,7 +453,7 @@ jobs:
453453
# Hack to disable a test that hangs
454454
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);'
455455
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=$?
457457
if [ ${EXIT_CODE:-0} -gt 128 ]; then
458458
exit 1
459459
fi
@@ -469,7 +469,7 @@ jobs:
469469
git rev-parse HEAD
470470
php /usr/bin/composer install --no-progress --ignore-platform-reqs
471471
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=$?
473473
if [ $[EXIT_CODE:-0} -gt 128 ]; then
474474
X=1;
475475
fi
@@ -484,7 +484,7 @@ jobs:
484484
git rev-parse HEAD
485485
php /usr/bin/composer install --no-progress --ignore-platform-reqs
486486
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=$?
488488
if [ ${EXIT_CODE:-0} -gt 128 ]; then
489489
exit 1
490490
fi
@@ -504,7 +504,7 @@ jobs:
504504
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
505505
X=0
506506
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=$?
508508
if [ ${EXIT_CODE:-0} -gt 128 ]; then
509509
X=1;
510510
fi
@@ -519,7 +519,7 @@ jobs:
519519
export ASAN_OPTIONS=exitcode=139
520520
export PHPSECLIB_ALLOW_JIT=1
521521
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 $?
523523
- name: Test PHPUnit
524524
if: always()
525525
run: |
@@ -528,7 +528,7 @@ jobs:
528528
git rev-parse HEAD
529529
export ASAN_OPTIONS=exitcode=139
530530
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=$?
532532
if [ ${EXIT_CODE:-0} -gt 128 ]; then
533533
exit 1
534534
fi
@@ -552,7 +552,7 @@ jobs:
552552
sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php
553553
sed -i 's/yourusernamehere/root/g' wp-tests-config.php
554554
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=$?
556556
if [ $EXIT_CODE -gt 128 ]; then
557557
exit 1
558558
fi

0 commit comments

Comments
 (0)