File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -122,15 +122,17 @@ jobs:
122122
123123 - name : Run PHPUnit
124124 run : |
125- docker run --platform linux/386 --rm \
125+ docker run --platform linux/386 --rm -i \
126126 -v ${{ github.workspace }}:/app \
127127 -w /app \
128128 -e CALCULATOR=${{ matrix.calculator }} \
129- php:8.5-cli bash -c "\
130- apt-get update && \
131- apt-get install -y libgmp-dev unzip && \
132- docker-php-ext-install gmp bcmath > /dev/null && \
133- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
134- composer install --no-interaction && \
135- php -r 'echo \"PHP_INT_SIZE=\", PHP_INT_SIZE, \"\n\"; exit(PHP_INT_SIZE === 4 ? 0 : 1);' && \
136- vendor/bin/phpunit"
129+ php:8.5-cli bash -e <<'EOF'
130+ apt-get update
131+ apt-get install -y libgmp-dev unzip
132+ docker-php-ext-install gmp bcmath > /dev/null
133+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
134+ composer install --no-interaction
135+ php -r 'echo "PHP_INT_SIZE=", PHP_INT_SIZE, "\n";'
136+ php -r 'exit(PHP_INT_SIZE === 4 ? 0 : 1);'
137+ vendor/bin/phpunit
138+ EOF
You can’t perform that action at this time.
0 commit comments