Skip to content

Commit

Permalink
Merge pull request #33 from rtorrero/multi-tenant-regression-tests
Browse files Browse the repository at this point in the history
Add postgres host for db initialization
  • Loading branch information
rtorrero authored Apr 5, 2024
2 parents fad088b + b7d21a9 commit 5afd2f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,10 @@ jobs:
down-flags: "--volumes"
- name: Import postgres snapshots
run: |
createdb -U postgres trento_regression_test
createdb -U postgres trento_eventstore_regression_test
pg_restore -U postgres -d trento_regression_test -c -1 ./trento_dev.dump
pg_restore -U postgres -d trento_eventstore_regression_test -c -1 ./trento_eventstore_dev.dump
createdb -h postgres -U postgres trento_regression_test
createdb -h postgres -U postgres trento_eventstore_regression_test
pg_restore -h postgres -U postgres -d trento_regression_test -c -1 ./trento_dev.dump
pg_restore -h postgres -U postgres -d trento_eventstore_regression_test -c -1 ./trento_eventstore_dev.dump
- name: Mix setup
run: mix setup
- name: Run trento detached
Expand Down

0 comments on commit 5afd2f7

Please sign in to comment.