Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
2ea07b6c
Commit
2ea07b6c
authored
Aug 14, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: send interop results to stdout and junit
parent
c9adad27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
.circleci/config.yml
.circleci/config.yml
+7
-2
No files found.
.circleci/config.yml
View file @
2ea07b6c
...
...
@@ -163,18 +163,23 @@ jobs:
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
:
name
:
Installing reporting tools
command
:
|
npm install --save mocha-junit-reporter@1.23.1 mocha-multi-reporters@1.1.0
working_directory
:
~/ipfs/go-ipfs/interop
-
run
:
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'
echo '{"reporterEnabled": "mocha-junit-reporter, spec"}' > mocha-conf.json
node_modules/.bin/mocha test/node.js -R mocha-multi-reporters --reporter-options "configFile=mocha-conf.json"
working_directory
:
~/ipfs/go-ipfs/interop
environment
:
IPFS_REUSEPORT
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment