Merge branch 'jts/spec-failures' into 'master'

Workflow: Provide mechanism to allow rspec failures only

See merge request gitlab-org/omnibus-gitlab!5879
This commit is contained in:
Balasankar 'Balu' C 2022-02-04 06:09:22 +00:00
commit ca34b20d3c
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View File

@ -32,3 +32,5 @@ assets_cache
build_facts
node_modules
spec/examples.txt

View File

@ -16,6 +16,7 @@ $LOAD_PATH << './files/gitlab-ctl-commands/lib'
Knapsack::Adapters::RSpecAdapter.bind if Gitlab::Util.get_env('USE_KNAPSACK')
RSpec.configure do |config|
config.example_status_persistence_file_path = './spec/examples.txt' unless Gitlab::Util.get_env('CI')
config.filter_run focus: true
config.run_all_when_everything_filtered = true