From 97127008cd0e4393a9f6cbf2d211ac8c3de8654e Mon Sep 17 00:00:00 2001 From: Fumika Koyama Date: Mon, 6 Nov 2023 12:07:27 +0900 Subject: [PATCH] =?UTF-8?q?PostgreSQL=E3=81=AE=E3=83=A6=E3=83=BC=E3=82=B6?= =?UTF-8?q?=E3=83=BC=E8=A8=AD=E5=AE=9A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/samples-dressca-backend.ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/samples-dressca-backend.ci.yml b/.github/workflows/samples-dressca-backend.ci.yml index 35e63645e..1e630bfc7 100644 --- a/.github/workflows/samples-dressca-backend.ci.yml +++ b/.github/workflows/samples-dressca-backend.ci.yml @@ -62,9 +62,8 @@ jobs: shell: bash run: | sudo systemctl start postgresql.service - sudo su - postgres - psql -U postgres - alter role postgres with password 'postgres'; + sudo bash -c "echo \"local all all md5\" >> /etc/postgresql/14/main/pg_hba.conf" + sudo su postgres -c "psql postgres -c \"alter role postgres with login password 'postgres';\"" - id: run-tests name: テストの実行