mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-12 19:57:55 +08:00
ci: spit out junit reports from the interop tests
This commit is contained in:
parent
7591a8d549
commit
c9adad27ab
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user