fix playwright action database connection

This commit is contained in:
Gregor Vostrak
2024-03-11 18:43:08 +01:00
parent 72f6cb2bdf
commit 51c3a2672f
2 changed files with 15 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=laravel

View File

@@ -11,6 +11,20 @@ jobs:
services:
mailpit:
image: 'axllent/mailpit:latest'
pgsql:
image: postgres:15
env:
PGPASSWORD: 'root'
POSTGRES_DB: 'laravel'
POSTGRES_USER: 'root'
POSTGRES_PASSWORD: 'root'
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: "Checkout code"