Skip to content

Commit 9b0a2e5

Browse files
committed
cicd: added database to preps scripts
1 parent 77b6461 commit 9b0a2e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github-actions-tests/metrics.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ elif [ "${OS%:*}" = "ubuntu" ]; then
4343
fi
4444

4545
# archive_mode preps
46-
sudo -u postgres ${PG_PATH}psql -c "DO
46+
sudo -u postgres ${PG_PATH}psql -d mamonsu_test_db -c "DO
4747
\$do\$
4848
DECLARE
4949
func_name varchar;
@@ -54,7 +54,7 @@ END
5454
\$do\$;"
5555

5656
# pg_stat_statements preps
57-
sudo -u postgres ${PG_PATH}psql -c "CREATE EXTENSION pg_stat_statements;"
57+
sudo -u postgres ${PG_PATH}psql -d mamonsu_test_db -c "CREATE EXTENSION pg_stat_statements;"
5858

5959
# read metric for specific version
6060
while read metric; do

0 commit comments

Comments
 (0)