diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8aaffe..2e9297f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: pg_ctl start # sudo systemctl start postgresql.service pg_isready - sudo -u postgres psql --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du" + sudo -u postgres psql --host "$PGHOST" --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du" - name: Create database user run: | sudo -u postgres psql --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du"