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