diff --git a/.env.ci.example b/.env.ci.example new file mode 100644 index 0000000..52844df --- /dev/null +++ b/.env.ci.example @@ -0,0 +1,19 @@ +APP_NAME=kcal +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost + +LOG_CHANNEL=stack +LOG_LEVEL=debug + +DB_CONNECTION=sqlite + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +SCOUT_DRIVER=elastic +ELASTIC_HOST=localhost:9200 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac4994b..fc5c0f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: composer install --no-progress --no-interaction - name: Generate app key run: | - php -r "file_exists('.env') || copy('.env.example', '.env');" + php -r "file_exists('.env') || copy('.env.ci.example', '.env');" php artisan key:generate - name: Run tests run: vendor/bin/paratest --coverage-clover build/logs/clover.xml