Commit 670d500b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'alberts-run_all_when_everything_filtered-disable-ci' into 'master'

Disable RSpec option filter focus and run_all_when_everything_filtered on CI [RUN ALL RSPEC]

See merge request gitlab-org/gitlab!64986
parents 59550368 d598c359
......@@ -107,7 +107,7 @@ update-storybook-yarn-cache:
- run_timed_command "gem install knapsack --no-document"
- run_timed_command "scripts/gitaly-test-spawn"
- source ./scripts/rspec_helpers.sh
- rspec_paralellized_job "--tag frontend_fixture"
- rspec_paralellized_job
artifacts:
name: frontend-fixtures
expire_in: 31d
......
......@@ -24,6 +24,8 @@ ActiveSupport::Dependencies.autoload_paths << 'ee/lib'
ActiveSupport::XmlMini.backend = 'Nokogiri'
RSpec.configure do |config|
config.filter_run focus: true
config.run_all_when_everything_filtered = true
unless ENV['CI']
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end
end
......@@ -76,9 +76,6 @@ require_relative '../tooling/quality/test_level'
quality_level = Quality::TestLevel.new
RSpec.configure do |config|
config.filter_run focus: true
config.run_all_when_everything_filtered = true
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
config.fixture_path = Rails.root
......@@ -113,6 +110,8 @@ RSpec.configure do |config|
end
unless ENV['CI']
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