Skip to content

Commit

Permalink
Try the combination of short and long options
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix committed Feb 8, 2024
1 parent fa4e3d3 commit d32732d
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 --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: |
Expand All @@ -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:
Expand Down

0 comments on commit d32732d

Please sign in to comment.