Commit c9adad27 authored by Steven Allen's avatar Steven Allen

ci: spit out junit reports from the interop tests

parent 7591a8d5
......@@ -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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment