From 814c26826ff94b795b678f4c88f1342970218486 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 6 Jun 2019 20:18:59 -0700 Subject: Add Ruby 2.2 and 2.3 testing Test what we support Signed-off-by: Tim Smith --- .expeditor/verify.pipeline.yml | 21 ++++++++++++++++++++- Gemfile | 6 +++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 8cb872a..a29049b 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -1,5 +1,25 @@ steps: +- label: run-lint-and-specs-ruby-2.2 + command: + - export USER="root" + - bundle install --jobs=7 --retry=3 --without docs development style + - bundle exec rake spec + expeditor: + executor: + docker: + image: ruby:2.2-jessie + +- label: run-lint-and-specs-ruby-2.3 + command: + - export USER="root" + - bundle install --jobs=7 --retry=3 --without docs development + - bundle exec rake + expeditor: + executor: + docker: + image: ruby:2.3-stretch + - label: run-lint-and-specs-ruby-2.4 command: - export USER="root" @@ -29,4 +49,3 @@ steps: executor: docker: image: ruby:2.6-stretch - diff --git a/Gemfile b/Gemfile index a013bb2..8928d2c 100644 --- a/Gemfile +++ b/Gemfile @@ -8,8 +8,12 @@ group :docs do gem "github-markup" end -group :test do +# added to its own group so we can exclude for Ruby 2.2 +group :style do gem "chefstyle" +end + +group :test do gem "rspec", "~> 3.0" gem "rake" end -- cgit v1.2.1