Skip to content

Commit

Permalink
Add DB name to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix committed Feb 8, 2024
1 parent d32732d commit 0165deb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 0165deb

Please sign in to comment.