From 14a0c5af864a8cf1bb5a99e2ded17951fcd18843 Mon Sep 17 00:00:00 2001 From: smaspons <78911250+smaspons@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:14:05 +0200 Subject: [PATCH] fix(workflow): set verbose mode --- .github/workflows/database_ws.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/database_ws.yml b/.github/workflows/database_ws.yml index b8351db727..f5a2ece6c0 100644 --- a/.github/workflows/database_ws.yml +++ b/.github/workflows/database_ws.yml @@ -78,7 +78,7 @@ jobs: local file=$1 echo "Executing $file..." # Capture the output of the psql command (both stdout and stderr) - output=$(psql -h localhost -U postgres -d giswater_test_db -v ON_ERROR_STOP=1 -f "$file" 2>&1) + output=$(psql -h localhost -U postgres -d giswater_test_db -v ON_ERROR_STOP=1 -v VERBOSITY=verbose -f "$file" 2>&1) echo "Output: $output" # Check the exit status of the psql command if [ $? -ne 0 ]; then @@ -88,10 +88,6 @@ jobs: echo "$output" exit 1 fi - # if ! psql -h localhost -U postgres -d giswater_test_db -v ON_ERROR_STOP=1 -f "$file" 2>&1; then - # echo "Error executing $file" - # exit 1 - # fi } # Process each root directory and its subdirectories