@cryptotaxi247 / kubo / commits / db85387c6

test: restore ipfs-interop (#8613)

* chore: ipfs@0.61.0 https://github.com/ipfs/js-ipfs/blob/master/packages/ipfs/CHANGELOG.md#0610-2021-12-15 * chore: ipfs-interop@8.0.0 (cherry picked from commit 14046d000276c5f1c8b1aed50634f18cd2ef23d7)

Marcin Rataj committed Jan 12, 2022 at 19:40 UTC db85387c6736a243b3921e81b2320c8f82d4dbe7
1 file changed +2 -14
.circleci/main.yml
+2 -14
@@ -227,22 +227,13 @@ jobs:
227 name: Installing dependencies
228 command: |
229 npm init -y
230 - npm install ipfs@^0.59.1
231 - npm install ipfs/interop#master
230 + npm install ipfs@^0.61.0
231 + npm install ipfs-interop@^8.0.0
232 npm install mocha-circleci-reporter@0.0.3
233 working_directory: ~/ipfs/go-ipfs/interop
234 - run:
235 name: Running tests
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 mkdir -p /tmp/test-results/interop/
238 export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
239 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
@@ -251,9 +242,6 @@ jobs:
242 LIBP2P_TCP_REUSEPORT: false
243 LIBP2P_ALLOW_WEAK_RSA_KEYS: 1
244 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 - store_test_results:
246 path: /tmp/test-results
247 go-ipfs-api: