diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 7eb7bba23..5353deeaa 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 --hostname=localhost --username=username -c 'SELECT VERSION();' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SELECT VERSION();' - name: Show max connections - run: env PGPASSWORD=password psql --hostname=localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' - name: Alter max connections run: | @@ -92,7 +92,7 @@ jobs: sleep 5 - name: Show max connections - run: env PGPASSWORD=password psql --hostname=localhost --username=username -c 'SHOW max_connections;' + run: env PGPASSWORD=password psql -h localhost --username=username -c 'SHOW max_connections;' - name: Run postgres env: