mirror of https://github.com/kcal-app/kcal.git
Update CI config
This is a short term workaround for having a more local development focused env example file. The CI approach should be re-consider in the future to use similar configurations (MySQL, redis, etc.).
This commit is contained in:
parent
0961a37ef2
commit
e1e3a3620a
|
@ -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
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
run: composer install --no-progress --no-interaction
|
run: composer install --no-progress --no-interaction
|
||||||
- name: Generate app key
|
- name: Generate app key
|
||||||
run: |
|
run: |
|
||||||
php -r "file_exists('.env') || copy('.env.example', '.env');"
|
php -r "file_exists('.env') || copy('.env.ci.example', '.env');"
|
||||||
php artisan key:generate
|
php artisan key:generate
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: vendor/bin/paratest --coverage-clover build/logs/clover.xml
|
run: vendor/bin/paratest --coverage-clover build/logs/clover.xml
|
||||||
|
|
Loading…
Reference in New Issue