Skip to content

Commit 0596135

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: [skip ci] Group component output in community job
2 parents d0274e7 + fbc705c commit 0596135

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,14 +553,16 @@ jobs:
553553
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
554554
X=0
555555
for repository in $repositories; do
556-
printf "Testing amp/%s\n" "$repository"
556+
echo "::group::$repository"
557557
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
558558
cd "amphp-$repository"
559559
git rev-parse HEAD
560560
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
561561
vendor/bin/phpunit || EXIT_CODE=$?
562+
echo "::endgroup::"
562563
if [ ${EXIT_CODE:-0} -gt 128 ]; then
563564
X=1;
565+
echo "Failed"
564566
fi
565567
cd ..
566568
done
@@ -584,14 +586,16 @@ jobs:
584586
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
585587
X=0
586588
for repository in $repositories; do
587-
printf "Testing reactphp/%s\n" "$repository"
589+
echo "::group::$repository"
588590
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
589591
cd "reactphp-$repository"
590592
git rev-parse HEAD
591593
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
592594
vendor/bin/phpunit || EXIT_CODE=$?
595+
echo "::endgroup::"
593596
if [ $[EXIT_CODE:-0} -gt 128 ]; then
594597
X=1;
598+
echo "Failed"
595599
fi
596600
cd ..
597601
done
@@ -622,9 +626,12 @@ jobs:
622626
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
623627
X=0
624628
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
629+
echo "::group::$component"
625630
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
631+
echo "::endgroup::"
626632
if [ ${EXIT_CODE:-0} -gt 128 ]; then
627633
X=1;
634+
echo "Failed"
628635
fi
629636
done
630637
exit $X

0 commit comments

Comments
 (0)