提交 256494ba 作者: Steven Allen

ci: spit out junit reports from the interop tests

上级 7973323c
......@@ -160,15 +160,26 @@ jobs:
- v1-interop-{{ checksum "~/ipfs/go-ipfs/interop/package-lock.json" }}
- v1-interop-
- run:
command: npm install
name: Installing dependencies
command: |
npm install
npm install mocha-junit-reporter
working_directory: ~/ipfs/go-ipfs/interop
- save_cache:
key: v1-interop-{{ checksum "~/ipfs/go-ipfs/interop/package-lock.json" }}
paths:
- ~/ipfs/go-ipfs/interop/node_modules
- run:
command: npm run test:node
name: Running tests
command: |
mkdir -p /tmp/test-results/interop/
export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
node_modules/.bin/mocha --reporter=mocha-junit-reporter 'test/node.js'
working_directory: ~/ipfs/go-ipfs/interop
environment:
IPFS_REUSEPORT: false
- store_test_results:
path: /tmp/test-results
go-ipfs-api:
executor: golang
steps:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论