File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,15 @@ jobs:
234
234
- run :
235
235
name : Running tests
236
236
command : |
237
+ WORKDIR=$(pwd)
238
+ cd /tmp
239
+ git clone https://github.com/ipfs/js-ipfs.git
240
+ cd js-ipfs
241
+ git checkout 1dcac76f56972fc3519526e93567e39d685033dd
242
+ npm install
243
+ npm run build
244
+ npm run link
245
+ cd $WORKDIR
237
246
mkdir -p /tmp/test-results/interop/
238
247
export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
239
248
npx ipfs-interop -- -t node -f $(sed -n -e "s|^require('\(.*\)')$|test/\1|p" node_modules/ipfs-interop/test/node.js | circleci tests split) -- --reporter mocha-circleci-reporter
@@ -242,6 +251,9 @@ jobs:
242
251
LIBP2P_TCP_REUSEPORT : false
243
252
LIBP2P_ALLOW_WEAK_RSA_KEYS : 1
244
253
IPFS_GO_EXEC : /tmp/circleci-workspace/bin/ipfs
254
+ IPFS_JS_EXEC : /tmp/js-ipfs/packages/ipfs/src/cli.js
255
+ IPFS_JS_MODULE : /tmp/js-ipfs/packages/ipfs/dist/cjs/src/index.js
256
+ IPFS_JS_HTTP_MODULE : /tmp/js-ipfs/packages/ipfs-http-client/dist/cjs/src/index.js
245
257
- store_test_results :
246
258
path : /tmp/test-results
247
259
go-ipfs-api :
You can’t perform that action at this time.
0 commit comments