1 parent 7132995 commit fe2e6dcCopy full SHA for fe2e6dc
1 file changed
.github/workflows/ci.yml
@@ -82,6 +82,9 @@ jobs:
82
83
- name: Run E2E Tests
84
run: |
85
+ # Ensure Database is fully awake
86
+ npx wait-on tcp:127.0.0.1:5432
87
+
88
# Start Backend
89
cd emr-server/src/Api && dotnet run --no-build --configuration Release -- --seed &
90
@@ -95,7 +98,7 @@ jobs:
95
98
# Run Playwright
96
99
cd emr-client && npx playwright test tests/clinical-workflow.spec.ts --project=chromium --workers=1
97
100
env:
- ConnectionStrings__DefaultConnection: "Host=localhost;Database=emr;Username=postgres;Password=postgres"
101
+ ConnectionStrings__DefaultConnection: "Host=127.0.0.1;Database=emr;Username=postgres;Password=postgres"
102
NEXT_PUBLIC_API_URL: http://127.0.0.1:34732
103
NEXTAUTH_SECRET: "ci-secret-halcyon"
104
NEXTAUTH_URL: http://127.0.0.1:3431
0 commit comments