summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-11 22:31:30 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-11 22:31:30 -0800
commit413a0cc179242d99909db2db1dd07803ea8145b6 (patch)
tree0a59090c861c7e916a423adbb3252f2c72c43d31
parentfec41da4f12db77eaee1ac56a8ddc84e53db7acd (diff)
downloadmixlib-shellout-413a0cc179242d99909db2db1dd07803ea8145b6.tar.gz
Add Ruby 3 testing + cleanup deps
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x.expeditor/run_linux_tests.sh1
-rw-r--r--.expeditor/verify.pipeline.yml8
-rw-r--r--Gemfile5
3 files changed, 9 insertions, 5 deletions
diff --git a/.expeditor/run_linux_tests.sh b/.expeditor/run_linux_tests.sh
index 7df1936..fc2f6b2 100755
--- a/.expeditor/run_linux_tests.sh
+++ b/.expeditor/run_linux_tests.sh
@@ -8,7 +8,6 @@ export USER="root"
export LANG=C.UTF-8 LANGUAGE=C.UTF-8
echo "--- bundle install"
-
bundle config --local path vendor/bundle
bundle install --jobs=7 --retry=3
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 5a69b50..6535e4f 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -43,6 +43,14 @@ steps:
docker:
image: ruby:2.7-buster
+- label: run-lint-and-specs-ruby-3.0
+ command:
+ - .expeditor/run_linux_tests.sh rake
+ expeditor:
+ executor:
+ docker:
+ image: ruby:3.0-buster
+
- label: run-specs-windows
command:
- bundle config --local path vendor/bundle
diff --git a/Gemfile b/Gemfile
index a5f5274..261f195 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,10 +2,8 @@ source "https://rubygems.org"
gemspec name: "mixlib-shellout"
-gem "parallel", "< 1.20" # pin until we drop ruby < 2.4
-
group :test do
- gem "chefstyle", "1.5.1"
+ gem "chefstyle", "1.6.2"
gem "rake"
gem "rspec", "~> 3.0"
end
@@ -13,6 +11,5 @@ end
group :debug do
gem "pry"
gem "pry-byebug"
- gem "pry-stack_explorer", "~> 0.4.0" # pin until we drop ruby < 2.6
gem "rb-readline"
end