Skip to content

Commit ae1d5bb

Browse files
committed
Fix: CI Issue 1
1 parent fe2e6dc commit ae1d5bb

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,20 @@ jobs:
8585
# Ensure Database is fully awake
8686
npx wait-on tcp:127.0.0.1:5432
8787
88-
# Start Backend
89-
cd emr-server/src/Api && dotnet run --no-build --configuration Release -- --seed &
88+
# Start Backend (Ignoring local launch settings)
89+
cd emr-server/src/Api && dotnet run --no-build --no-launch-profile --configuration Release -- --seed &
9090
9191
# Start Frontend
9292
cd emr-client && npm start &
9393
94-
# Wait for services (3-min timeout)
95-
npx wait-on -t 180000 http://127.0.0.1:34732/health http://127.0.0.1:3431
94+
# Wait for services (5-min timeout for slow cloud seeding)
95+
npx wait-on -t 300000 http://127.0.0.1:34732/health http://127.0.0.1:3431
9696
echo "Services are healthy. Starting Playwright suite."
9797
9898
# Run Playwright
9999
cd emr-client && npx playwright test tests/clinical-workflow.spec.ts --project=chromium --workers=1
100100
env:
101+
ASPNETCORE_ENVIRONMENT: Production
101102
ConnectionStrings__DefaultConnection: "Host=127.0.0.1;Database=emr;Username=postgres;Password=postgres"
102103
NEXT_PUBLIC_API_URL: http://127.0.0.1:34732
103104
NEXTAUTH_SECRET: "ci-secret-halcyon"

0 commit comments

Comments
 (0)