Configure postgres to accept all connections without password for testing

This commit is contained in:
Jan Böhmer 2024-06-12 23:30:42 +02:00
parent 373a1ab0f4
commit d3c9b7eae1

View file

@ -59,6 +59,7 @@ jobs:
- name: Start PostgreSQL
run: |
sudo "echo 'host all all" >> /etc/postgresql/16/main/pg_hba.conf"
sudo systemctl start postgresql.service
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
if: matrix.db-type == 'postgres'