From e3d968c13816ded2d583b4aea682bf3bef69aded Mon Sep 17 00:00:00 2001 From: johnbywater Date: Fri, 8 Nov 2024 18:42:52 +0000 Subject: [PATCH] Fixed github-actions.yml. --- .github/workflows/github-actions.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 7bf9872..3db0aec 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -92,9 +92,7 @@ jobs: - name: Setup database run: | PGPASSWORD=postgres psql -c 'CREATE DATABASE eventsourcing_django;' -U postgres -h localhost - PGPASSWORD=postgres psql -c "CREATE USER eventsourcing WITH PASSWORD 'eventsourcing';" -U postgres -h localhost - PGPASSWORD=postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE eventsourcing_django TO eventsourcing;" -U postgres -h localhost - PGPASSWORD=postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE test_eventsourcing_django TO eventsourcing;" -U postgres -h localhost + PGPASSWORD=postgres psql -c "CREATE USER eventsourcing WITH PASSWORD 'eventsourcing' CREATEDB;" -U postgres -h localhost # PGPASSWORD=postgres psql -c "ALTER DATABASE eventsourcing_django OWNER TO eventsourcing;" -U postgres -h localhost # PGPASSWORD=postgres psql eventsourcing_django -c "CREATE SCHEMA myschema AUTHORIZATION eventsourcing" -U postgres -h localhost - name: Run tests