Skip to content

Commit

Permalink
Debug / Wait for PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronskiba committed Jul 8, 2024
1 parent 3795764 commit 83231ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
run: |
yarn install
# Wait for PostgreSQL
- name: Wait for PostgreSQL
run: |
until pg_isready -h localhost -p 5432; do
echo "Waiting for PostgreSQL to be ready..."
sleep 1
done
# Initialize the DB
- name: 'Setup Test DB'
run: |
Expand Down

0 comments on commit 83231ea

Please sign in to comment.