This commit is contained in:
parent
5a9db02a0a
commit
3fdaffbc01
|
@ -19,10 +19,13 @@ steps:
|
|||
endpoint: https://minio.dwysokinski.me
|
||||
mount:
|
||||
- /root/.cache/go-build
|
||||
- /root/.cache/go-mod
|
||||
- name: test
|
||||
image: golang:1.19
|
||||
environment:
|
||||
TESTS_DB_DSN: postgres://postgres:twhelptest@database:5432/twhelptest?sslmode=disable
|
||||
GOCACHE: /root/.cache/go-build
|
||||
GOMODCACHE: /root/.cache/go-mod
|
||||
commands:
|
||||
- make generate
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
@ -41,6 +44,7 @@ steps:
|
|||
endpoint: https://minio.dwysokinski.me
|
||||
mount:
|
||||
- /root/.cache/go-build
|
||||
- /root/.cache/go-mod
|
||||
|
||||
services:
|
||||
- name: database
|
||||
|
|
Reference in New Issue
Block a user