@@ -553,14 +553,16 @@ jobs:
553
553
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
554
554
X=0
555
555
for repository in $repositories; do
556
- printf "Testing amp/%s\n" " $repository"
556
+ echo "::group:: $repository"
557
557
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
558
558
cd "amphp-$repository"
559
559
git rev-parse HEAD
560
560
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
561
561
vendor/bin/phpunit || EXIT_CODE=$?
562
+ echo "::endgroup::"
562
563
if [ ${EXIT_CODE:-0} -gt 128 ]; then
563
564
X=1;
565
+ echo "Failed"
564
566
fi
565
567
cd ..
566
568
done
@@ -584,14 +586,16 @@ jobs:
584
586
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
585
587
X=0
586
588
for repository in $repositories; do
587
- printf "Testing reactphp/%s\n" " $repository"
589
+ echo "::group:: $repository"
588
590
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
589
591
cd "reactphp-$repository"
590
592
git rev-parse HEAD
591
593
php /usr/bin/composer install --no-progress --ignore-platform-req=php+
592
594
vendor/bin/phpunit || EXIT_CODE=$?
595
+ echo "::endgroup::"
593
596
if [ $[EXIT_CODE:-0} -gt 128 ]; then
594
597
X=1;
598
+ echo "Failed"
595
599
fi
596
600
cd ..
597
601
done
@@ -622,9 +626,12 @@ jobs:
622
626
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
623
627
X=0
624
628
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
629
+ echo "::group::$component"
625
630
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
631
+ echo "::endgroup::"
626
632
if [ ${EXIT_CODE:-0} -gt 128 ]; then
627
633
X=1;
634
+ echo "Failed"
628
635
fi
629
636
done
630
637
exit $X
0 commit comments