Hi
We’ve go our circle.yml setup as the following. However, the same Rspec tests are run on both nodes in parallel instead of getting split. Cucumber seems to parallel just fine. Any help will appreciated.
Regards,
Sahu
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/rubocop
override:
- cd front-end && npm run lint:sass
- cd front-end && npm run lint:js
- cd front-end && npm run test:ci:
environment:
MOCHA_FILE: $CIRCLE_TEST_REPORTS/mocha/junit.xml
- bundle exec rubocop -r rubocop/formatter/junit_formatter --format RuboCop::Formatter::JUnitFormatter -o $CIRCLE_TEST_REPORTS/rubocop/junit.xml --format progress
- bundle exec rspec spec --color --require rails_helper --format documentation --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/junit.xml:
parallel: true
files:
- "spec/**/*_spec.rb"
- bundle exec cucumber --format pretty --format junit --out $CIRCLE_TEST_REPORTS/cucumber/junit.xml:
parallel: true
files:
- "features/*.feature"