Skip to content

Commit

Permalink
grant create to postgres user
Browse files Browse the repository at this point in the history
  • Loading branch information
thewunder committed Mar 21, 2024
1 parent 3bb930d commit 113ac13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
run: |
sudo systemctl start postgresql
pg_isready
- name: Create test postgres user
run: |
sudo -u postgres psql --command="CREATE USER $PGSQL_USER PASSWORD '$PGSQL_PASS'" --command="\du"
sudo -u postgres psql --command="CREATE USER $PGSQL_USER PASSWORD '$PGSQL_PASS'" --command="GRANT CREATE ON DATABASE postgres TO $PGSQL_USER"
- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand Down

0 comments on commit 113ac13

Please sign in to comment.