File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ test:
2828integration_tests :
2929 docker-compose -f integration-tests/docker-compose.yml -p sandbox up -d
3030 sleep 15
31- rm -rf ./node_modules/grpc*
3231 docker run -it \
32+ --rm \
3333 --network=sandbox_default \
34- -v $(PWD ) :/src \
35- -w /src \
34+ -v $(PWD ) :/ws \
35+ -w /ws \
3636 node:6-alpine \
37- /bin/sh -c ' npm i && ./node_modules/mocha/bin/mocha -r ./node_modules/ts-node/register tests/integration/**/*.ts'
37+ /bin/sh -c ' mkdir -p ws2 && cp -a src tests package.json tsconfig.json ws2/ && cd ws2 && npm i && ./node_modules/mocha/bin/mocha -r ./node_modules/ts-node/register tests/integration/**/*.ts'
3838 docker-compose -f integration-tests/docker-compose.yml -p sandbox stop
3939
4040.PHONY : compile
@@ -57,6 +57,7 @@ idl_codegen:
5757
5858.PHONY : npm_install
5959npm_install :
60+ rm -rf node_modules/grpc*
6061 npm install
6162
6263example : build
You can’t perform that action at this time.
0 commit comments