From 6e68c337366f6d5cd654fc475d4cae3fe6240921 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 99a17952..71682175 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