Skip to content

Commit

Permalink
test 12
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-burghardt committed May 9, 2024
1 parent b8ac9e5 commit c0f2116
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ jobs:
postgres:
image: postgres:16-alpine
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: wallet-backend
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
PGHOST: localhost
options: >-
--health-cmd pg_isready
Expand All @@ -77,7 +78,10 @@ jobs:
env:
PGHOST: localhost
PGPORT: 5432
DATABASE_URL: postgres://postgres@localhost:5432/wallet-backend?sslmode=disable
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: postgres
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable

steps:
- name: Checkout
Expand All @@ -87,8 +91,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: "1.22.1"
cache: true
cache-dependency-path: go.sum

- name: Run Tests
run: go test -v -race -cover ./...

0 comments on commit c0f2116

Please sign in to comment.