Merge pull request #5888 from inspec/cw/only-test-27-on-inspec4

Only test Ruby 2.7 on InSpec 4
This commit is contained in:
Clinton Wolfe 2022-03-03 08:58:35 -05:00 committed by GitHub
commit 290be22570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,39 +9,31 @@ expeditor:
steps:
- label: lint-ruby-2.6
- label: lint-ruby-2.7
command:
- RAKE_TASK=test:lint /workdir/.expeditor/buildkite/verify.sh
expeditor:
executor:
docker:
image: ruby:2.6
image: ruby:2.7
- label: run-tests-ruby-2.6
- label: run-tests-ruby-2.7
command:
- /workdir/.expeditor/buildkite/verify.sh
expeditor:
executor:
docker:
image: ruby:2.6
- label: run-tests-ruby-2.7
command:
- CI_ENABLE_COVERAGE=1 /workdir/.expeditor/buildkite/verify.sh
expeditor:
executor:
docker:
image: ruby:2.7
- label: isolated-tests-ruby-2.6
- label: isolated-tests-ruby-2.7
command:
- RAKE_TASK=test:isolated /workdir/.expeditor/buildkite/verify.sh
expeditor:
executor:
docker:
image: ruby:2.6
image: ruby:2.7
- label: run-tests-ruby-2.6-windows
- label: run-tests-ruby-2.7-windows
command:
- /workdir/.expeditor/buildkite/verify.ps1
expeditor:
@ -51,3 +43,4 @@ steps:
- BUILDKITE
host_os: windows
shell: ["powershell", "-Command"]
image: rubydistros/windows-2019:2.7