diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eec0442a..f9ccba65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,9 @@ jobs: steps: - name: Setup PostgreSQL run: | - echo "host all all 127.0.0.1/32 trust" | sudo tee /etc/postgresql/14/main/pg_hba.conf - echo "peer all all peer" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf + echo "peer all all peer" | sudo tee /etc/postgresql/14/main/pg_hba.conf + echo "local all postgres peer" | | sudo tee -a /etc/postgresql/14/main/pg_hba.conf + 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 -u postgres createuser --superuser --login $USER createdb $USER