Parallel Testing for Rails

paralellism

#1
- 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?


#2

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


#3

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