Skip to content

Commit

Permalink
chore: Updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
erayhanoglu committed Oct 15, 2024
1 parent 32fe046 commit 57257e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
node: [ '20' ]
postgres: [ '14' ]
postgres: [ '16' ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -18,8 +18,6 @@ jobs:
- name: PostgreSQL
run: |
date
echo "----- Remove the pre-installed PostgreSQL -----"
sudo apt-get remove --purge postgresql-16 postgresql-client-16 -y
echo "----- Installing PostgreSQL ${{ matrix.postgres }} -----"
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
Expand Down
16 changes: 11 additions & 5 deletions test/_support/pg_hba.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
local all all trust
host all postgres 127.0.0.1/32 trust
host all postgrejs_test 127.0.0.1/32 trust
host all postgrejs_test_md5 127.0.0.1/32 md5
host all postgrejs_test_scram 127.0.0.1/32 scram-sha-256
# TYPE DATABASE USER ADDRESS METHOD
local all all trust

# IPv4 local connections:
host all postgres 127.0.0.1/32 trust
host all postgrejs_test 127.0.0.1/32 trust
host all postgrejs_test_md5 127.0.0.1/32 md5
host all postgrejs_test_scram 127.0.0.1/32 scram-sha-256

# IPv6 local connections:
host all postgres ::1/128 trust

0 comments on commit 57257e3

Please sign in to comment.