diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8383f1..6e002fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,9 @@ jobs: pg_ctl start # sudo systemctl start postgresql.service pg_isready - # createdb --owner=$PGUSERNAME $PGDATABASE - # psql --host "$PGHOST" --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du" + createdb $PGDATABASE + psql --host "$PGHOST" --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du" + psql --host "$PGHOST" --command="GRANT ALL PRIVILEGES ON DATABASE $PGDATABASE TO $PGUSERNAME" --command="\l" # - name: Create database user # run: | # sudo -u postgres psql --command="CREATE USER $PGUSERNAME PASSWORD '$PGPASSWORD'" --command="\du"