Here’s the relevant config.yml:
- run: name: Rails run tests command: | bin/rspec \ --format RspecJunitFormatter --out /tmp/test-results/rspec.xml \ --format progress \ $(circleci tests glob "spec/**/*_spec.rb" "front/spec/**/*_spec.rb" | circleci tests split --split-by=timings) - store_test_results: path: /tmp/test-results - store_artifacts: path: /tmp/test-results
I’ve checked Artifacts tab and rspec.xml was indeed stored. However, when running the build again I get “Requested historical based timing, but they are not present. Falling back to name based sorting”.
https://circleci.com/docs/2.0/parallelism-faster-jobs/ states that “CircleCI automatically makes timing data from previous runs available inside your container in a default location so the CLI tool can discover them (/.circleci-task-data/circle-test-results/).” I thought that “store_test_results” takes care of that (at least https://circleci.com/docs/2.0/language-ruby/ doesn’t mention anything related).