..
Some checks failed
CI / Test (1.24) (push) Successful in -25m40s
CI / Test (1.25) (push) Successful in 58s
CI / Lint (push) Successful in -25m40s
CI / Build (push) Successful in -25m50s
Integration Tests / Integration Tests (push) Failing after 1m57s

This commit is contained in:
2025-12-28 15:52:17 +02:00
parent 5fb9a8f231
commit b5d39aeee4

View File

@@ -51,6 +51,22 @@ jobs:
sudo apt-get update
sudo apt-get install -y postgresql-client
- name: Wait for PostgreSQL to be ready
env:
PGPASSWORD: relspec_test_password
run: |
echo "Waiting for PostgreSQL to be ready..."
for i in {1..30}; do
if pg_isready -h localhost -p 5439 -U relspec > /dev/null 2>&1; then
echo "PostgreSQL is ready!"
break
fi
echo "Attempt $i/30: Waiting..."
sleep 2
done
# Give it one more second to fully initialize
sleep 2
- name: Initialize test database
env:
PGPASSWORD: relspec_test_password