Skip to content

Commit

Permalink
chore(#182): changing tests to use local path
Browse files Browse the repository at this point in the history
  • Loading branch information
witash committed Nov 21, 2024
1 parent c7bf41f commit 6e54662
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 45 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"main": "",
"scripts": {
"postinstall": "cd couch2pg && npm ci",
"test:e2e": "npm run test:e2e-data && npm run test:e2e-containers && mocha tests/**/*.spec.js --timeout 50000; npm run test:e2e-stop-containers ",
"test:e2e": "npm run test:e2e-data && npm run test:e2e-containers && mocha tests/**/*.spec.js --timeout 50000 && npm run test:e2e-stop-containers ",
"lint": "eslint --color --cache .",
"test:e2e-stop-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml down -v",
"test:e2e-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml -f tests/dbt/docker-compose.yml up -d --build --force-recreate",
"test:e2e-stop-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.local.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml down -v",
"test:e2e-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.local.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml up -d --build --force-recreate",
"test:e2e-data": "cd tests/data && rm -rf ./json_docs && cht csv-to-docs",
"test": "cd couch2pg && npm run test"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/.e2e-env
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DBT_POSTGRES_USER="postgres"
DBT_POSTGRES_PASSWORD="postgres"
DBT_POSTGRES_SCHEMA="dbt"
DBT_POSTGRES_HOST="postgres"
DBT_PACKAGE_TARBALL_URL="http://dbt-package/dbt/package.tar.gz"
DBT_LOCAL_PATH="./tests/dbt/package"
DATAEMON_INTERVAL=0
COUCHDB_USER="medic"
COUCHDB_PASSWORD="password"
Expand Down
15 changes: 0 additions & 15 deletions tests/dbt/Dockerfile

This file was deleted.

5 changes: 0 additions & 5 deletions tests/dbt/docker-compose.yml

This file was deleted.

21 changes: 0 additions & 21 deletions tests/dbt/nginx.conf

This file was deleted.

0 comments on commit 6e54662

Please sign in to comment.