From bbc46c09901d30dfcb2e0e5ab8f40ae595064342 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 29 Mar 2023 18:32:11 +0100 Subject: [PATCH] Another missing sudo --- .github/workflows/run-python-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-python-tests.yml b/.github/workflows/run-python-tests.yml index 66f1bc48c..ea3accfc2 100644 --- a/.github/workflows/run-python-tests.yml +++ b/.github/workflows/run-python-tests.yml @@ -33,7 +33,7 @@ jobs: - name: Start PostgreSQL run: | - sudo echo -e "local all all trust\n$(cat /etc/postgresql/15/main/pg_hba.conf)" > /etc/postgresql/15/main/pg_hba.conf + sudo echo -e "local all all trust\n$(sudo cat /etc/postgresql/15/main/pg_hba.conf)" > /etc/postgresql/15/main/pg_hba.conf sudo echo "shared_preload_libraries = '$libdir/plugin_debugger'" > /etc/postgresql/15/main/postgresql.auto.conf su - postgres -c '/usr/lib/postgresql/15/bin/postgres -D /var/lib/postgresql/15/main -c config_file=/etc/postgresql/15/main/postgresql.conf &'