From 9bbac6d64888ae8c64fe3cbd8394da5ff9b776e3 Mon Sep 17 00:00:00 2001
From: Yuri Chiucconi <yuri.chiucconi@exact-lab.it>
Date: Thu, 5 Dec 2024 11:47:03 +0100
Subject: [PATCH] user postgres

---
 .github/workflows/ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 72378edb..b77d439d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,10 +40,10 @@ jobs:
         run: pg_isready
 
       - name: Start PostgreSQL 3
-        run: sudo -u postgres createuser -s -d -r -w $(whoami)
+        run: sudo -u postgres createuser -s -d -r -w postgres
 
       - name: Create DB
-        run: createdb -U $(whoami) pytest-fractal-client
+        run: sudo createdb -U postgres pytest-fractal-client
 
       - name: Test with pytest
         env: