diff --git a/.env.ci b/.env.ci index 986ec588..5b3d9af2 100644 --- a/.env.ci +++ b/.env.ci @@ -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 diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 7c12dcf9..b988cf8f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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"