From 55758fcb2a7138b5519a3cba01b8cb3ba865b4cc Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 29 Jan 2024 18:31:56 -0500 Subject: [PATCH] test connection to postgres with debug query --- .github/actions/setup-postgres-linux/action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 9f905b1c..9e1597bf 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -13,6 +13,4 @@ runs: - name: Configure the database shell: bash - run: | - sudo chmod +x ./scripts/setup_test_database.sql - sudo -u postgres psql -f ./scripts/setup_test_database.sql + run: sudo su - postgres psql -c 'select 1 as id'