Skip to content

Commit fe2e6dc

Browse files
committed
Fix: Migration Issue
1 parent 7132995 commit fe2e6dc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282

8383
- name: Run E2E Tests
8484
run: |
85+
# Ensure Database is fully awake
86+
npx wait-on tcp:127.0.0.1:5432
87+
8588
# Start Backend
8689
cd emr-server/src/Api && dotnet run --no-build --configuration Release -- --seed &
8790
@@ -95,7 +98,7 @@ jobs:
9598
# Run Playwright
9699
cd emr-client && npx playwright test tests/clinical-workflow.spec.ts --project=chromium --workers=1
97100
env:
98-
ConnectionStrings__DefaultConnection: "Host=localhost;Database=emr;Username=postgres;Password=postgres"
101+
ConnectionStrings__DefaultConnection: "Host=127.0.0.1;Database=emr;Username=postgres;Password=postgres"
99102
NEXT_PUBLIC_API_URL: http://127.0.0.1:34732
100103
NEXTAUTH_SECRET: "ci-secret-halcyon"
101104
NEXTAUTH_URL: http://127.0.0.1:3431

0 commit comments

Comments
 (0)