forked from deblan/database-anonymizer
tests: add pg in ci
This commit is contained in:
parent
9c4b7ea525
commit
e6b5d2160a
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ steps:
|
||||||
"Fill PostgresSQL":
|
"Fill PostgresSQL":
|
||||||
image: *postgres_image
|
image: *postgres_image
|
||||||
commands:
|
commands:
|
||||||
- psql -U postgres -d test < tests/postgres_data.sql
|
- psql -U postgres -h service-postgres -d test < tests/postgres_data.sql
|
||||||
|
|
||||||
"Run tests":
|
"Run tests":
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
|
@ -43,6 +43,7 @@ services:
|
||||||
image: *postgres_image
|
image: *postgres_image
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
|
- POSTGRES_PASSWORD=postgres
|
||||||
- POSTGRES_DB=test
|
- POSTGRES_DB=test
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue