chore(test): set up integration test framework with postgres #136

Merged
djalim merged 14 commits from PMPR-setup-test-framework into develop 2026-04-26 11:30:34 +00:00
Showing only changes of commit af2562ef2b - Show all commits
+1 -6
View File
@@ -38,11 +38,6 @@ jobs:
POSTGRES_PASSWORD: test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
@@ -60,7 +55,7 @@ jobs:
- name: Wait for postgres
run: |
until pg_isready -h localhost -p 5432 -U test; do
until nc -z localhost 5432; do
echo "Waiting for postgres..."
sleep 2
done