@@ -565,14 +565,16 @@ jobs:
565
565
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
566
566
X=0
567
567
for repository in $repositories; do
568
- printf "Testing amp/%s\n" " $repository"
568
+ echo "::group:: $repository"
569
569
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
570
570
cd "amphp-$repository"
571
571
git rev-parse HEAD
572
572
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
573
573
vendor/bin/phpunit || EXIT_CODE=$?
574
+ echo "::endgroup::"
574
575
if [ ${EXIT_CODE:-0} -gt 128 ]; then
575
576
X=1;
577
+ echo "Failed"
576
578
fi
577
579
cd ..
578
580
done
@@ -596,14 +598,16 @@ jobs:
596
598
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
597
599
X=0
598
600
for repository in $repositories; do
599
- printf "Testing reactphp/%s\n" " $repository"
601
+ echo "::group:: $repository"
600
602
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
601
603
cd "reactphp-$repository"
602
604
git rev-parse HEAD
603
605
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
604
606
vendor/bin/phpunit || EXIT_CODE=$?
607
+ echo "::endgroup::"
605
608
if [ $[EXIT_CODE:-0} -gt 128 ]; then
606
609
X=1;
610
+ echo "Failed"
607
611
fi
608
612
cd ..
609
613
done
@@ -634,9 +638,12 @@ jobs:
634
638
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
635
639
X=0
636
640
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
641
+ echo "::group::$component"
637
642
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
643
+ echo "::endgroup::"
638
644
if [ ${EXIT_CODE:-0} -gt 128 ]; then
639
645
X=1;
646
+ echo "Failed"
640
647
fi
641
648
done
642
649
exit $X
0 commit comments