From da8c7eb0fc05f9520803fcf313ddbb7cd586bb27 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Mon, 3 Feb 2020 23:29:23 +1100 Subject: [PATCH] ci: fix homebrew-service (PostgreSQL) do manual start for now. (#3638) --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8d6688816..f78fc98a4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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