You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Setup stack don't fail. I tried several configurations.
Screenshots/Logs
Run shivammathur/setup-php@verbose
with:
php-version: 7.4
extensions: dom, curl, intl, gd, exif, mbstring, xml, libxml, ctype, iconv, mysql, pdo, pdo_mysql, pdo_pgsql, pgsql, phar, fileinfo, sqlite[3](https://github.com/DAICAR/iDeal/pull/292/checks#step:3:3)
ini-file: production
env:
DB_HOST: ***
DB_DATABASE: ***
DB_USERNAME: ***
DB_PASSWORD: ***
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/verbose/src/scripts/run.sh
==> Setup PHP
update-alternatives: using /usr/bin/phar7.[4](https://github.com/DAICAR/iDeal/pull/292/checks#step:3:4) to provide /usr/bin/phar (phar) in manual mode
update-alternatives: using /usr/bin/php-config7.4 to provide /usr/bin/php-config (php-config) in manual mode
update-alternatives: using /usr/bin/phpdbg[7](https://github.com/DAICAR/iDeal/pull/292/checks#step:3:7).4 to provide /usr/bin/phpdbg (phpdbg) in manual mode
update-alternatives: using /usr/bin/phpize7.4 to provide /usr/bin/phpize (phpize) in manual mode
update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in manual mode
update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in manual mode
update-alternatives: using /usr/lib/cgi-bin/php7.4 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in manual mode
update-alternatives: using /usr/bin/php-cgi7.4 to provide /usr/bin/php-cgi (php-cgi) in manual mode
update-alternatives: error: alternative /run/php/php7.4-fpm.sock for php-fpm.sock not registered; not setting
update-alternatives: error: no alternatives for php-fpm
update-alternatives: using /usr/sbin/php-fpm7.4 to provide /usr/sbin/php-fpm (php-fpm) in auto mode
Reading package lists...
Building dependency tree...
Reading state information...
production
date.timezone=UTC
memory_limit=-1
xdebug.mode=coverage
php-version=7.4.33
cp: target '/opt/hostedtoolcache/' is not a directory
✓ PHP Found PHP 7.4.33
==> Setup Extensions
✓ dom Enabled
✓ curl Enabled
✓ intl Enabled
✓ gd Enabled
✓ exif Enabled
✓ mbstring Enabled
✓ xml Enabled
✓ libxml Enabled
✓ ctype Enabled
✓ iconv Enabled
✓ mysql Enabled
✓ pdo Enabled
✓ pdo_mysql Enabled
✓ pdo_pgsql Enabled
✓ pgsql Enabled
✓ phar Enabled
✓ fileinfo Enabled
✓ sqlite3 Enabled
Please do not run setup-php with actions that run in their own containers as they use their own php in the container. Please considering running phpunit directly by installing it as a composer dependency or using the tools input in setup-php action.
Describe the bug
Throws PDO Exception when run phpunit tests on Laravel 5.8 (php 7.4) and external database connection.
Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu 20.04
PHP versions
7.4
To Reproduce
Expected behavior
Setup stack don't fail. I tried several configurations.
Screenshots/Logs
The text was updated successfully, but these errors were encountered: