Read the .env file before running phpunit
This commit is contained in:
parent
c7a6e20fad
commit
a398558614
@ -36,6 +36,7 @@ php-test-job:
|
||||
- pecl install xdebug
|
||||
- echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini
|
||||
- echo "xdebug.mode=coverage" >> /usr/local/etc/php/conf.d/xdebug.ini
|
||||
- source .env
|
||||
- export DB_CONNECTION=mysql
|
||||
- export DB_HOST=mysql
|
||||
- export DB_PORT=3306
|
||||
|
||||
Loading…
Reference in New Issue
Block a user