Skip to content

Commit

Permalink
Add pg_restore flags
Browse files Browse the repository at this point in the history
  • Loading branch information
dorthrithil committed Mar 13, 2024
1 parent 81e0bd4 commit 918d15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backend-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Setup database
run: |
export PGPASSWORD='postgres'; psql -h 0.0.0.0 -p 5432 -U postgres -d localcrag_test < server/scripts/create_uuid_extension.sql
export PGPASSWORD='postgres'; pg_restore -h 0.0.0.0 -p 5432 -U postgres -d localcrag_test server/tests/dumps/localcrag_test_dump.sql
export PGPASSWORD='postgres'; pg_restore --no-privileges --no-owner -h 0.0.0.0 -p 5432 -U postgres -d localcrag_test server/tests/dumps/localcrag_test_dump.sql
- name: Run Tests
run: |
Expand Down

0 comments on commit 918d15a

Please sign in to comment.