Update .github/workflows/db.test.yaml
This commit is contained in:
@@ -18,9 +18,7 @@ jobs:
|
||||
--health-cmd pg_isready
|
||||
--health-interval 5s
|
||||
--health-retries 5
|
||||
ports:
|
||||
- 6969:5432
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -28,4 +26,4 @@ jobs:
|
||||
- name: Connect to Postgres
|
||||
run: |
|
||||
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();"
|
||||
|
||||
Reference in New Issue
Block a user