From b14f3b536ac35bd886c1e02dfb508b58df4d9ab7 Mon Sep 17 00:00:00 2001 From: Ricardo Arturo Cabral Mejia Date: Fri, 28 Oct 2022 00:52:01 -0400 Subject: [PATCH] chore(ci): remove dep on test.env --- test/integration/docker-compose.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/integration/docker-compose.yml b/test/integration/docker-compose.yml index 99a1795..7168217 100644 --- a/test/integration/docker-compose.yml +++ b/test/integration/docker-compose.yml @@ -3,9 +3,14 @@ services: build: context: ../../ dockerfile: Dockerfile.test - env_file: - - ../../test.env environment: + DB_HOST: db-test + DB_PORT: 5432 + DB_NAME: nostr_ts_relay_test + DB_USER: postgres + DB_PASSWORD: postgres + DB_MIN_POOL_SIZE: 1 + DB_MAX_POOL_SIZE: 2 NOSTR_CONFIG_DIR: /code volumes: - ../../src:/code/src @@ -14,7 +19,7 @@ services: ports: - "8008:8008" command: - ["sh", "-c", "whoami && pwd && ls -hall test/integration && npm run test:integration"] + ["npm", "run", "test:integration"] depends_on: db-test: condition: service_healthy