Skip to content

The open alternative to Salesforce, designed for AI.

Fix server e2e tests on CI #3

Charles Bochet37beaa6d92ab
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 237f00bafe3..bc99e75efb4 100644
--- a/.github/workflows/ci-server.yaml
+++ b/.github/workflows/ci-server.yaml
@@ -8,7 +8,7 @@ jobs:
server-test:
runs-on: ubuntu-latest
env:
- PG_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/test?connection_limit=1
+ PG_DATABASE_URL: postgres://postgres:postgrespassword@localhost:5432/test?connection_limit=1
services:
postgres:
image: postgres
@@ -17,6 +17,8 @@ jobs:
POSTGRES_PASSWORD: postgrespassword
POSTGRES_DB: test
POSTGRES_PORT: 5432
+ ports:
+ - 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s