ci: fix homebrew-service (PostgreSQL) do manual start for now. (#3638)
parent
1e21e76788
commit
da8c7eb0fc
|
@ -78,9 +78,10 @@ jobs:
|
|||
run: sudo ./v symlink
|
||||
- name: Set up pg database
|
||||
run: |
|
||||
brew tap homebrew/services
|
||||
brew services start postgresql
|
||||
sleep 3
|
||||
# brew services start postgresql
|
||||
# sleep 3
|
||||
# do manual start for now. TODO: look at homebrew-services postgresql config
|
||||
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
|
||||
psql -d postgres -c 'select rolname from pg_roles'
|
||||
psql -d postgres -c 'create database customerdb;'
|
||||
psql -d customerdb -f examples/database/pg/mydb.sql
|
||||
|
|
Loading…
Reference in New Issue