Artisan undocumented functionality seems to be the cause...

This commit is contained in:
Daniel_I_Am 2021-09-04 14:33:10 +02:00
parent 51cd79505c
commit 02b487191c

View File

@ -13,17 +13,10 @@ php-build-job:
image: composer:2
script:
- composer install
- cat .env || true
- cat .env.testing || true
- cp .env.testing .env
- cat .env || true
- cat .env.testing || true
- php artisan key:generate
- cat .env || true
- cat .env.testing || true
artifacts:
paths:
- .env
- .env.testing
- vendor/
cache:
paths:
@ -42,15 +35,12 @@ 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
- cp -f .env .env.testing
- export DB_CONNECTION=mysql
- export DB_HOST=mysql
- export DB_PORT=3306
- export DB_DATABASE="$MYSQL_DATABASE"
- export DB_USERNAME=root
- export DB_PASSWORD="$MYSQL_ROOT_PASSWORD"
- cat .env || true
- cat .env.testing || true
- php artisan test --coverage-cobertura code-coverage.xml
artifacts:
reports: