Hello,
I’ve managed to get our CircleCI suite running with RSpec in parallel builds.
But now I’m wondering, how do I combine all the results afterwards to get a single output?
Right now I do the following:
- run:
name: "RSpec Test Suite"
command: |
./cc-test-reporter before-build
bundle exec rspec \
--profile 10 \
--color \
--require rspec_junit_formatter \
--format RspecJunitFormatter \
--out ./tmp/test-results/rspec/results.xml \
--format progress \
$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
- run:
name: "Code Climate Test Coverage"
command: |
./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
- persist_to_workspace:
root: coverage
paths:
- codeclimate.*.json
- store_artifacts:
path: ./tmp/test-results
- store_test_results:
path: ./tmp/test-results
But this only reports from the first container in the overview. What I want is to have the entire output when the tests are finished, not just form a single container. Is this possible?
Couldn’t find it in the documentation.