Skip to content

Commit 9b7476e

Browse files
committed
Update ezsql-macos.yml
1 parent ad5a129 commit 9b7476e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ezsql-macos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ jobs:
3737
brew link [email protected] --force
3838
mysqld --initialize-insecure
3939
mysql.server start
40-
echo '-----'
41-
sudo ls /var/run/
4240
- name: Setup MySQL Database
4341
run: |
4442
mysql -u root -e "CREATE DATABASE IF NOT EXISTS ez_test;"
4543
mysql -u root -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
4644
- name: Brew Start PostgreSql
47-
run: brew services restart postgresql
45+
run: |
46+
brew services restart postgresql
47+
pg_isready
4848
- name: Setup PostgreSql Database
4949
run: |
50-
psql --command="CREATE USER ez_test PASSWORD 'ezTest'" --command="\du"
50+
psql -U postgres --command="CREATE USER ez_test PASSWORD 'ezTest'" --command="\du"
5151
createdb --owner=ez_test ez_test
5252
- name: Docker Install SQLServer
5353
run: |

0 commit comments

Comments
 (0)