CircleCI does not seem to respect an override command in the circle.yml test section for Rails projects using rspec.
Whatever command we tried to put in the test.override section, CircleCI still runs RAILS_ENV=test bundle exec rake afterwards.
This causes our attempt to use JUnit report files to fail, as this rake command runs rspec tests and scenario tests afterwards and the latter overwrites the JUnit report of the first run (if we do not add some weird logic to split up these files…but thats another topic).
I’m using docker-compose to run my rails tests and I’m hitting this same wall. My understanding is that Circle does a bunch of Rails-specific stuff when it detects a Gemfile, not just in the test section, but in dependencies and database as well. I’m playing with overriding each of these sections, but would love to know if you figured this out.