chore(ci): remove dep on test.env

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-10-28 00:52:01 -04:00
parent 16e2e20f38
commit b14f3b536a
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245

View File

@ -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