Skip to content

Commit b334e95

Browse files
committed
Update ezsql-macos.yml
1 parent 8d8da8e commit b334e95

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ezsql-macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ jobs:
4343
mysql -u root -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
4444
- name: Brew Start PostgreSql
4545
run: |
46-
brew services start postgresql
46+
rm /usr/local/var/postgres/postmaster.pid
47+
sudo mkdir /var/pgsql_socket/
48+
sudo ln -s /private/tmp/.s.PGSQL.5432 /var/pgsql_socket/
49+
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
50+
brew services restart postgresql
4751
- name: Setup PostgreSql Database
4852
run: |
4953
psql -U postgres --command="CREATE USER ez_test PASSWORD 'ezTest'" --command="\du"

0 commit comments

Comments
 (0)