Skip to content

Commit

Permalink
connect to pg on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperphoton committed Mar 18, 2022
1 parent 29b9af1 commit 6cd6918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
id: go

- name: Create Read Database
run: PGPASSWORD=gorm psql -h localhost -U gorm -c 'CREATE DATABASE "sharding-read-test";'
run: PGPASSWORD=gorm psql -h localhost -U gorm -d sharding-test -c 'CREATE DATABASE "sharding-read-test";'

- name: Create Write Databases
run: PGPASSWORD=gorm psql -h localhost -U gorm -c 'CREATE DATABASE "sharding-write-test";'
run: PGPASSWORD=gorm psql -h localhost -U gorm -d sharding-test -c 'CREATE DATABASE "sharding-write-test";'

- name: Check out code into the Go module directory
uses: actions/checkout@v1
Expand Down

0 comments on commit 6cd6918

Please sign in to comment.