tests: add pg in ci
This commit is contained in:
parent
9c4b7ea525
commit
e6b5d2160a
|
@ -31,7 +31,7 @@ steps:
|
|||
"Fill PostgresSQL":
|
||||
image: *postgres_image
|
||||
commands:
|
||||
- psql -U postgres -d test < tests/postgres_data.sql
|
||||
- psql -U postgres -h service-postgres -d test < tests/postgres_data.sql
|
||||
|
||||
"Run tests":
|
||||
image: *golang_image
|
||||
|
@ -43,6 +43,7 @@ services:
|
|||
image: *postgres_image
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=test
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
|
||||
|
|
Loading…
Reference in a new issue