mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix homebrew-service (PostgreSQL) do manual start for now. (#3638)
This commit is contained in:
parent
1e21e76788
commit
da8c7eb0fc
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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
Block a user