From af1766ce93d7b08c1b30cf51e82056e71ff82e78 Mon Sep 17 00:00:00 2001 From: Terhi Salonen Date: Mon, 15 Jan 2024 14:26:24 +0200 Subject: [PATCH] --amend --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b96bb1ce..992e7d68 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -35,11 +35,11 @@ jobs: run: sudo /etc/init.d/postgresql start - name: Allow root to create PostgreSQL databases - run: su - postgres -c "createuser --createdb root" + run: sudo su - postgres -c "createuser --createdb root" - name: Create PostGIS extension run: > - su - postgres + sudo su - postgres -c "psql template1 -c 'create extension postgis'" - name: Install Tox and tox-gh-actions