Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  [skip ci] Group component output in community job
This commit is contained in:
Ilija Tovilo 2025-08-05 15:44:07 +02:00
commit cdfd663266
No known key found for this signature in database
GPG key ID: 5050C66BFCD1015A

View file

@ -565,14 +565,16 @@ jobs:
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server" repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
X=0 X=0
for repository in $repositories; do for repository in $repositories; do
printf "Testing amp/%s\n" "$repository" echo "::group::$repository"
git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1 git clone "https://github.com/amphp/$repository.git" "amphp-$repository" --depth 1
cd "amphp-$repository" cd "amphp-$repository"
git rev-parse HEAD git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+ php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit || EXIT_CODE=$? vendor/bin/phpunit || EXIT_CODE=$?
echo "::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;
echo "Failed"
fi fi
cd .. cd ..
done done
@ -596,14 +598,16 @@ jobs:
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream" repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
X=0 X=0
for repository in $repositories; do for repository in $repositories; do
printf "Testing reactphp/%s\n" "$repository" echo "::group::$repository"
git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1 git clone "https://github.com/reactphp/$repository.git" "reactphp-$repository" --depth 1
cd "reactphp-$repository" cd "reactphp-$repository"
git rev-parse HEAD git rev-parse HEAD
php /usr/bin/composer install --no-progress --ignore-platform-req=php+ php /usr/bin/composer install --no-progress --ignore-platform-req=php+
vendor/bin/phpunit || EXIT_CODE=$? vendor/bin/phpunit || EXIT_CODE=$?
echo "::endgroup::"
if [ $[EXIT_CODE:-0} -gt 128 ]; then if [ $[EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;
echo "Failed"
fi fi
cd .. cd ..
done done
@ -634,9 +638,12 @@ jobs:
export SYMFONY_DEPRECATIONS_HELPER=max[total]=999 export SYMFONY_DEPRECATIONS_HELPER=max[total]=999
X=0 X=0
for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do for component in $(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n'); do
echo "::group::$component"
php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$? php ./phpunit $component --exclude-group tty,benchmark,intl-data,transient --exclude-group skip || EXIT_CODE=$?
echo "::endgroup::"
if [ ${EXIT_CODE:-0} -gt 128 ]; then if [ ${EXIT_CODE:-0} -gt 128 ]; then
X=1; X=1;
echo "Failed"
fi fi
done done
exit $X exit $X