fix: gh actions

This commit is contained in:
Andras Bacsai 2023-04-12 22:19:03 +02:00
parent 6fd54561ca
commit 38315492a2
2 changed files with 6 additions and 5 deletions

View File

@ -14,6 +14,7 @@ APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_PORT=8000
DUSK_DRIVER_URL=http://selenium:4444
DB_CONNECTION=pgsql

View File

@ -29,12 +29,12 @@ jobs:
-v "$(pwd):/app" \
-w /app composer:2 \
composer install --ignore-platform-reqs
./vendor/bin/sail build
./vendor/bin/spin build
- name: Start the stack
run: |
./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate
./vendor/bin/sail artisan migrate:fresh --seed
./vendor/bin/spin up -d
./vendor/bin/spin exec coolify php artisan key:generate
./vendor/bin/spin exec coolify php artisan migrate:fresh --seed
- name: Test (missing E2E tests)
run: |
./vendor/bin/sail artisan test
./vendor/bin/spin exec coolify php artisan test