Skip to content

Commit

Permalink
chore(ci): remove dep on test.env
Browse files Browse the repository at this point in the history
  • Loading branch information
cameri committed Oct 28, 2022
1 parent 7a523ab commit 6e68c33
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/integration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6e68c33

Please sign in to comment.