From 56402423de5b502e311e908bdb2643b429b2f353 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Fri, 25 Oct 2024 20:58:57 -0700 Subject: [PATCH] debug --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 399be47d..76a18b1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,9 @@ jobs: - name: Setup PostgreSQL run: | echo "host all all 127.0.0.1/32 trust" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf - sudo service postgresql restart + sudo service postgresql start + sudo service postgresql reload + sudo -u postgres psql -c 'SHOW hba_file' sudo -u postgres createuser --superuser --login $USER createdb $USER psql postgres://$USER@127.0.0.1:5432/$USER -c "SELECT 1" > /dev/null