From 0165debb82ca4c086477e179b87a873642383b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Thu, 8 Feb 2024 17:30:55 +0100 Subject: [PATCH] Add DB name to the end --- .github/workflows/test-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 5353deeaa..672aa2c7f 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -77,10 +77,10 @@ jobs: sudo apt-get install --yes postgresql-client - name: Connect to PostgreSQL with CLI - run: env PGPASSWORD=password psql -h localhost --username=username -c 'SELECT VERSION();' + run: env PGPASSWORD=password psql -h localhost -U username -c 'SELECT VERSION();' testsuite - name: Show max connections - run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite - name: Alter max connections run: | @@ -92,7 +92,7 @@ jobs: sleep 5 - name: Show max connections - run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite - name: Run postgres env: