11default :
22 image : ruby:3.2
33
4+ variables :
5+ BUNDLE_INSTALL_FLAGS : " --quiet --jobs=$(nproc) --retry=3"
6+ BUNDLE_FROZEN : " false" # No lockfile!
7+ K_SOUP_COV_DEBUG : true
8+ K_SOUP_COV_DO : true
9+ K_SOUP_COV_HARD : true
10+ K_SOUP_COV_MIN_BRANCH : 98
11+ K_SOUP_COV_MIN_LINE : 98
12+ K_SOUP_COV_VERBOSE : true
13+ K_SOUP_COV_FORMATTERS : " html,xml,rcov,lcov,json,tty"
14+ K_SOUP_COV_MULTI_FORMATTERS : true
15+ K_SOUP_COV_COMMAND_NAME : " RSpec Coverage"
16+
417workflow :
518 rules :
619 # For merge requests, create a pipeline.
@@ -16,8 +29,8 @@ workflow:
1629 script :
1730 - gem update --system > /dev/null 2>&1
1831 - bundle config --local path vendor
19- - bundle install --quiet --jobs 4 --retry 3
20- - bundle exec rake test
32+ - bundle install
33+ - bundle exec rake
2134 cache :
2235 key : ${CI_JOB_IMAGE}
2336 paths :
@@ -28,24 +41,51 @@ workflow:
2841 stage : test
2942 script :
3043 # Because we support EOL Ruby still...
31- - gem install rubygems-update -v 3.4.22 > /dev/null 2>&1
44+ - gem install rubygems-update -v ${RUBYGEMS_VERSION}
3245 # Actually updates both RubyGems and Bundler!
33- - update_rubygems > /dev/null 2>&1
46+ - update_rubygems
3447 - bundle config --local path vendor
35- - bundle install --quiet --jobs 4 --retry 3
48+ - bundle install
3649 - bundle exec rake test
3750 cache :
3851 key : ${CI_JOB_IMAGE}
3952 paths :
4053 - vendor/ruby
4154
4255ruby-current :
56+ variables :
57+ BUNDLE_GEMFILE : gemfiles/omnibus.gemfile
58+ K_SOUP_COV_DO : true
4359 << : *test_definition-current
4460 parallel :
4561 matrix :
46- - RUBY_VERSION : ["3.0", "3.1", "3.2"]
62+ - RUBY_VERSION : ["3.2", "3.3", "3.4"]
63+
64+ ruby-ruby3_1 :
65+ variables :
66+ RUBYGEMS_VERSION : " 3.6.9"
67+ BUNDLE_GEMFILE : gemfiles/vanilla.gemfile
68+ K_SOUP_COV_DO : false
69+ << : *test_definition-legacy
70+ parallel :
71+ matrix :
72+ - RUBY_VERSION : ["3.1"]
73+
74+ ruby-ruby3_0 :
75+ variables :
76+ RUBYGEMS_VERSION : " 3.5.23"
77+ BUNDLE_GEMFILE : gemfiles/vanilla.gemfile
78+ K_SOUP_COV_DO : false
79+ << : *test_definition-legacy
80+ parallel :
81+ matrix :
82+ - RUBY_VERSION : ["3.0"]
4783
48- ruby-legacy :
84+ ruby-ruby2_7 :
85+ variables :
86+ RUBYGEMS_VERSION : " 3.4.22"
87+ BUNDLE_GEMFILE : gemfiles/vanilla.gemfile
88+ K_SOUP_COV_DO : false
4989 << : *test_definition-legacy
5090 parallel :
5191 matrix :
0 commit comments