From 27b6f9b6ce0fcca42572f361e300a2fdbf605a7e Mon Sep 17 00:00:00 2001 From: "M.Palerme" Date: Wed, 27 Dec 2023 12:04:01 +0100 Subject: [PATCH] #26 ... --- .github/workflows/test_unit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_unit.yml b/.github/workflows/test_unit.yml index 3a096ef..abefa74 100644 --- a/.github/workflows/test_unit.yml +++ b/.github/workflows/test_unit.yml @@ -27,8 +27,9 @@ jobs: image: postgres:latest # Provide the password for postgres env: - POSTGRES_PASSWORD: secret - POSTGRES_DB: testdb + POSTGRES_PASSWORD: ep2m2 + POSTGRES_DB: ep2m2db + POSTGRES_USER: ep2m2 # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready @@ -49,8 +50,7 @@ jobs: run: psql --help - name: Configure Database run: | - PGPASSWORD=secret psql -U postgres -d testdb -tc "CREATE TABLE proj - (id SERIAL PRIMARY KEY);" + psql -tc "CREATE TABLE proj(id SERIAL PRIMARY KEY);" - name: Use Node.js uses: actions/setup-node@v3 with: