Skip to content

Commit fbc705c

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: [skip ci] Group component output in community job
2 parents 9f800ae + cdfd663 commit fbc705c

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
@@ -565,14 +565,16 @@ jobs:
565565
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
566566
X=0
567567
for repository in $repositories; do
568-
printf "Testing amp/%s\n" "$repository"
568+
echo "::group::$repository"
569569
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
570570
cd "amphp-$repository"
571571
git rev-parse HEAD
572572
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
573573
vendor/bin/phpunit || EXIT_CODE=$?
574+
echo "::endgroup::"
574575
if [ ${EXIT_CODE:-0} -gt 128 ]; then
575576
X=1;
577+
echo "Failed"
576578
fi
577579
cd ..
578580
done
@@ -596,14 +598,16 @@ jobs:
596598
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
597599
X=0
598600
for repository in $repositories; do
599-
printf "Testing reactphp/%s\n" "$repository"
601+
echo "::group::$repository"
600602
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
601603
cd "reactphp-$repository"
602604
git rev-parse HEAD
603605
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
604606
vendor/bin/phpunit || EXIT_CODE=$?
607+
echo "::endgroup::"
605608
if [ $[EXIT_CODE:-0} -gt 128 ]; then
606609
X=1;
610+
echo "Failed"
607611
fi
608612
cd ..
609613
done
@@ -634,9 +638,12 @@ jobs:
634638
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
635639
X=0
636640
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
641+
echo "::group::$component"
637642
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
643+
echo "::endgroup::"
638644
if [ ${EXIT_CODE:-0} -gt 128 ]; then
639645
X=1;
646+
echo "Failed"
640647
fi
641648
done
642649
exit $X

0 commit comments

Comments
 (0)