Skip to content

Commit 5444614

Browse files
committed
fix(ci): use standard postgresql URL in E2E tests
Use postgresql:// instead of postgresql+asyncpg:// in environment variables to match the Pydantic settings validation. The async driver is added internally when connecting.
1 parent 3de88b8 commit 5444614

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ jobs:
177177
- name: Run E2E tests
178178
env:
179179
E2E_TESTS_ENABLED: "true"
180-
E2E_DATABASE_URL: "postgresql+asyncpg://test_user:test_password@localhost:5432/test_db"
181-
DATABASE_URL: "postgresql+asyncpg://test_user:test_password@localhost:5432/test_db"
180+
E2E_DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/test_db"
181+
DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/test_db"
182182
SECRET_KEY: "e2e-test-secret-key"
183183
AUTH_ENABLED: "true"
184184
JWT_AUTH_ENABLED: "true"
@@ -193,8 +193,8 @@ jobs:
193193
- name: Run E2E performance tests
194194
env:
195195
E2E_TESTS_ENABLED: "true"
196-
E2E_DATABASE_URL: "postgresql+asyncpg://test_user:test_password@localhost:5432/test_db"
197-
DATABASE_URL: "postgresql+asyncpg://test_user:test_password@localhost:5432/test_db"
196+
E2E_DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/test_db"
197+
DATABASE_URL: "postgresql://test_user:test_password@localhost:5432/test_db"
198198
SECRET_KEY: "e2e-test-secret-key"
199199
AUTH_ENABLED: "true"
200200
API_KEY_AUTH_ENABLED: "true"

0 commit comments

Comments
 (0)