Parallel Testing for Rails


- run:
    name: run specs
    type: shell
    command: |
      TESTFILES=$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
      bundle exec rspec -- ${TEST_FILES}

So I have that configured but odd thing is, it’s still running all the tests on each node. Is there something I’m not doing right?


@manbearpig You have a typo TESTFILES vs TEST_FILES. Hope you figured that out already.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.