Commit bda8ea76 authored by Rémy Coutable's avatar Rémy Coutable

Add jobs to run quarantine tests

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 28c5f520
......@@ -620,6 +620,22 @@ rspec-mysql:
<<: *rspec-metadata-mysql
parallel: 50
.rspec-quarantine: &rspec-quarantine
script:
- export CACHE_CLASSES=true
- scripts/gitaly-test-spawn
- bin/rspec --color --format documentation --tag quarantine spec/
rspec-pg-quarantine:
<<: *rspec-metadata-pg
<<: *rspec-quarantine
allow_failure: true
rspec-mysql-quarantine:
<<: *rspec-metadata-mysql
<<: *rspec-quarantine
allow_failure: true
# EE jobs START
rspec-pg-ee:
<<: *rspec-ee-pg
......@@ -631,6 +647,23 @@ rspec-mysql-ee:
rspec-pg geo: *rspec-metadata-pg-geo-9-6
rspec-pg-10 geo: *rspec-metadata-pg-geo-10-2
.rspec-quarantine-ee: &rspec-quarantine-ee
script:
- export CACHE_CLASSES=true
- scripts/gitaly-test-spawn
- bin/rspec --color --format documentation --tag quarantine ee/spec/
rspec-pg-quarantine-ee:
<<: *rspec-metadata-pg
<<: *rspec-quarantine-ee
allow_failure: true
rspec-mysql-quarantine-ee:
<<: *rspec-metadata-mysql
<<: *rspec-quarantine-ee
allow_failure: true
# EE jobs END
static-analysis:
......
......@@ -22,7 +22,7 @@ if rspec_profiling_is_configured && (!ENV.key?('CI') || branch_can_be_profiled)
require 'rspec_profiling/rspec'
end
if ENV['CI'] && !ENV['NO_KNAPSACK']
if ENV['CI'] && ENV['KNAPSACK_GENERATE_REPORT'] && !ENV['NO_KNAPSACK']
require 'knapsack'
Knapsack::Adapters::RSpecAdapter.bind
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