Skip to content

Commit

Permalink
fix test on postgres 15 (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo authored Nov 16, 2022
1 parent 435dead commit c05ed76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:14.5
image: postgres:15
env:
# Define a super user. Password for super user is required.
POSTGRES_USER: postgres
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
PGUSER: postgres
PGPASSWORD: postgres
# Create the database and user required by the PostgreSQL tests.
run: psql -c "CREATE DATABASE registry_test" -c "CREATE USER registry_tester"
run: psql -c "CREATE USER registry_tester" -c "CREATE DATABASE registry_test WITH OWNER registry_tester"

- name: Test registry server with PostgreSQL
run: go test ./server/registry -postgresql
Expand Down

0 comments on commit c05ed76

Please sign in to comment.