From eee3c50b6f4c38ed0ac4ba3c92eca134b6568477 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 28 Aug 2024 10:56:37 +0200 Subject: [PATCH] Initdb with password --- .github/workflows/conda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 427f186a..978cb200 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -110,8 +110,8 @@ jobs: - name: Setup postgres shell: pixi run bash -e {0} run: | - initdb -D mylocal_db - pg_ctl -D mylocal_db -l logfile start + initdb -D test_db --username="postgres" --pwfile=<(printf "%s\n" "password") + pg_ctl -D test_db -l logfile start - name: Build and test shell: pixi run bash -e {0} env: