|
|
|
@ -24,13 +24,8 @@ jobs: # a collection of steps
|
|
|
|
|
background: true
|
|
|
|
|
- run:
|
|
|
|
|
name: request
|
|
|
|
|
shell: /bin/sh
|
|
|
|
|
command: |
|
|
|
|
|
wget --retry-connrefused --waitretry=1 --readtimeout=20 --timeout=15 -t 10 http://localhost:8880
|
|
|
|
|
command: wget --retry-connrefused --waitretry=1 --timeout=15 -t 10 http://localhost:8880
|
|
|
|
|
:
|
|
|
|
|
- run: # run coverage report
|
|
|
|
|
name: code-coverage
|
|
|
|
|
command: './node_modules/.bin/nyc report --reporter=text-lcov'
|
|
|
|
|
- store_artifacts: # special step to save test results as as artifact
|
|
|
|
|
path: test-results.xml
|
|
|
|
|
prefix: tests
|
|
|
|
|