File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,17 @@ jobs: # a collection of steps
20
20
name : run test
21
21
command : npm t
22
22
environment :
23
- JEST_JUNIT_OUTPUT : " reports/junit/js-test-results.xml"
23
+ JEST_JUNIT_OUTPUT : " ./junit.xml"
24
+ - run : # run coverage report
25
+ name : post coverage
26
+ command : npx circleci-coverage-github-reporter
24
27
- store_artifacts : # special step to save test results as as artifact
25
28
# Upload test summary for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
26
- path : junit.xml
29
+ path : " ./ junit.xml"
27
30
prefix : tests
28
31
- store_artifacts : # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
29
32
path : coverage
30
33
prefix : coverage
31
34
- store_test_results : # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
32
- path : junit.xml
35
+ path : " ./ junit.xml"
33
36
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
You can’t perform that action at this time.
0 commit comments