Skip to content

Commit

Permalink
fix port issue
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Nov 27, 2024
1 parent 8002a89 commit 954f0fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/wep_app_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
run: |
cp .env.dev .env
sed -i 's/DB_HOST=db/DB_HOST=127.0.0.1/' .env
sed -i 's/DB_PORT=5432/DB_PORT=5433/' .env
- name: Wait for Database to be Ready
run: |
for i in {1..30}; do
pg_isready -h 127.0.0.1 -p 5433 -U postgres && break || sleep 2;
done
- name: Run Tests for Web_App
working-directory: ./apps/web_app
Expand Down

0 comments on commit 954f0fd

Please sign in to comment.