Commit 9900e94a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch...

Merge branch '334788-follow-up-from-disable-rspec-option-filter-focus-and-run_all_when_everything_filtered-on-ci' into 'master'

Resolve "Follow-up from "Disable RSpec option filter focus and run_all_when_everything_filtered on CI [RUN ALL RSPEC]""

See merge request gitlab-org/gitlab!65126
parents 82ebc12f 1c8c4cb7
......@@ -25,6 +25,8 @@ ActiveSupport::XmlMini.backend = 'Nokogiri'
RSpec.configure do |config|
unless ENV['CI']
# Allow running `:focus` examples locally,
# falling back to all tests when there is no `:focus` example.
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end
......
......@@ -110,8 +110,11 @@ RSpec.configure do |config|
end
unless ENV['CI']
# Allow running `:focus` examples locally,
# falling back to all tests when there is no `:focus` example.
config.filter_run focus: true
config.run_all_when_everything_filtered = true
# Re-run failures locally with `--only-failures`
config.example_status_persistence_file_path = './spec/examples.txt'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment