An error occurred while loading ./spec/rails_admin/version_spec.rb.
Failure/Error:
SimpleCov.start do
add_filter '/spec/'
add_filter '/vendor/bundle/'
end
RuntimeError:
coverage measurement is already setup
# /usr/local/rvm/gems/ruby-3.1.2/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start'
# /usr/local/rvm/gems/ruby-3.1.2/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start_coverage_with_criteria'
# /usr/local/rvm/gems/ruby-3.1.2/gems/simplecov-0.21.2/lib/simplecov.rb:343:in `start_coverage_measurement'
# /usr/local/rvm/gems/ruby-3.1.2/gems/simplecov-0.21.2/lib/simplecov.rb:59:in `start'
# ./spec/spec_helper.rb:20:in `<top (required)>'
# ./spec/rails_admin/version_spec.rb:4:in `require'
# ./spec/rails_admin/version_spec.rb:4:in `<top (required)>'
I am hunting around in https://github.com/railsadminteam/rails_admin/actions/runs/3403727172/workflow to see if there are any missed setup steps and it looks like there is a default value for the test matrix, but it appears there are a lot more setup steps involved to get the tests running than listed in the documentation.
Describe the bug The specs seem to be missing some setup instructions.
Reproduction steps
bundle install
(implied, but not listed)yarn install
(maybe implied, but not listed)bundle exec rspec
The specs will fail.
Expected behavior
The specs run.
Additional context
example stacktrace:
I am hunting around in https://github.com/railsadminteam/rails_admin/actions/runs/3403727172/workflow to see if there are any missed setup steps and it looks like there is a default value for the test matrix, but it appears there are a lot more setup steps involved to get the tests running than listed in the documentation.