mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Configure postgres to accept all connections without password for testing
This commit is contained in:
parent
373a1ab0f4
commit
d3c9b7eae1
1 changed files with 1 additions and 0 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -59,6 +59,7 @@ jobs:
|
||||||
|
|
||||||
- name: Start PostgreSQL
|
- name: Start PostgreSQL
|
||||||
run: |
|
run: |
|
||||||
|
sudo "echo 'host all all" >> /etc/postgresql/16/main/pg_hba.conf"
|
||||||
sudo systemctl start postgresql.service
|
sudo systemctl start postgresql.service
|
||||||
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
|
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
|
||||||
if: matrix.db-type == 'postgres'
|
if: matrix.db-type == 'postgres'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue