Skip to content

Commit

Permalink
Fixed github-actions.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbywater committed Nov 8, 2024
1 parent cfedd7f commit e3d968c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3d968c

Please sign in to comment.