Update .github/workflows/db.test.yaml
Run Postgres Tests / test-db (push) Successful in 27s
Run Tests / test (pull_request) Failing after 1s

This commit is contained in:
2026-09-25 09:46:14 +00:00
parent da9715dd30
commit a175c790ee
+1 -3
View File
@@ -18,8 +18,6 @@ jobs:
--health-cmd pg_isready --health-cmd pg_isready
--health-interval 5s --health-interval 5s
--health-retries 5 --health-retries 5
ports:
- 6969:5432
steps: steps:
- name: Checkout code - name: Checkout code
@@ -28,4 +26,4 @@ jobs:
- name: Connect to Postgres - name: Connect to Postgres
run: | run: |
sudo apt-get update && sudo apt-get install -y postgresql-client sudo apt-get update && sudo apt-get install -y postgresql-client
PGPASSWORD=test_password psql -p 6969 -h postgres -U test_user -d test_db -c "SELECT version();" PGPASSWORD=test_password psql -p 5432 -h postgres -U test_user -d test_db -c "SELECT version();"