We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6699eb0 commit 55101c5Copy full SHA for 55101c5
1 file changed
.github/workflows/ci.yml
@@ -42,6 +42,10 @@ jobs:
42
export PGDATA=/var/lib/postgresql/${{ matrix.ci.PGVER }}/main
43
export PGETC=/etc/postgresql/${{ matrix.ci.PGVER }}/main
44
export PGBIN=/usr/lib/postgresql/${{ matrix.ci.PGVER }}/bin
45
+ # needed for pg18 and above cause cluster is no longer created on install
46
+ if [ ! -d "/etc/postgresql/${{ matrix.ci.PGVER }}/main" ]; then
47
+ sudo pg_createcluster ${{ matrix.ci.PGVER }} main
48
+ fi
49
sudo cp ./ci/pg_hba.conf $PGETC/pg_hba.conf
50
sudo su postgres -c "$PGBIN/pg_ctl --pgdata $PGDATA start -o '-c config_file=$PGETC/postgresql.conf -p 5432'"
51
0 commit comments