From eba8faea36b6c91737b69f116a2f397a5e6e8eac Mon Sep 17 00:00:00 2001 From: Daniel Marin Date: Tue, 13 Aug 2024 15:15:01 +0200 Subject: [PATCH] feat(workflows): use wildcard in pg_prove --- .github/workflows/database_ud.yml | 4 ++-- .github/workflows/database_ws.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/database_ud.yml b/.github/workflows/database_ud.yml index c76083ff7e..cee80f8828 100644 --- a/.github/workflows/database_ud.yml +++ b/.github/workflows/database_ud.yml @@ -56,10 +56,10 @@ jobs: env: PGPASSWORD: postgres run: | - pg_prove -h localhost -U postgres -d giswater_test_db test/plsql/ud/ + pg_prove -h localhost -U postgres -d giswater_test_db test/plsql/ud/*.sql - name: Run SQL Tests with pgTAP and pg_prove (UPSERT) env: PGPASSWORD: postgres run: | - pg_prove -h localhost -U postgres -d giswater_test_db test/upsert/ud/ + pg_prove -h localhost -U postgres -d giswater_test_db test/upsert/ud/*.sql diff --git a/.github/workflows/database_ws.yml b/.github/workflows/database_ws.yml index 7b875e93e7..c126af50d4 100644 --- a/.github/workflows/database_ws.yml +++ b/.github/workflows/database_ws.yml @@ -56,10 +56,10 @@ jobs: env: PGPASSWORD: postgres run: | - pg_prove -h localhost -U postgres -d giswater_test_db test/plsql/ws/ + pg_prove -h localhost -U postgres -d giswater_test_db test/plsql/ws/*.sql - name: Run SQL Tests with pgTAP and pg_prove (UPSERT) env: PGPASSWORD: postgres run: | - pg_prove -h localhost -U postgres -d giswater_test_db test/upsert/ws/ + pg_prove -h localhost -U postgres -d giswater_test_db test/upsert/ws/*.sql