Skip to content

Commit 27ac083

Browse files
committed
run psql as postgres user.
1 parent 954caa8 commit 27ac083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
5454
sudo service postgresql restart; sleep 30
5555
# set up postgresql database
56-
psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
56+
sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
5757
5858
- name: Install mysql
5959
run: |

0 commit comments

Comments
 (0)