Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ruby-3.0 & ruby-3.1 test on windows and remove linux tests #92

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 0 additions & 53 deletions .expeditor/run_linux_tests.sh

This file was deleted.

47 changes: 8 additions & 39 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,55 +7,24 @@ expeditor:
limit: 1
timeout_in_minutes: 30

# why do we test on Linux? It's the easiest way to run specs quickly on multiple ruby versions so we test on Windows and then on various ruby releases using Linux agents
steps:
- label: lint-chefstyle
command:
- .expeditor/run_linux_tests.sh "rake style"
expeditor:
executor:
docker:
image: ruby:2.7-buster

- label: run-specs-ruby-2.6
command:
- .expeditor/run_linux_tests.sh rspec
expeditor:
executor:
docker:
image: ruby:2.6-buster

- label: run-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh rspec
expeditor:
executor:
docker:
image: ruby:2.7-buster

- label: run-specs-ruby-3.0
command:
- .expeditor/run_linux_tests.sh rspec
expeditor:
executor:
docker:
image: ruby:3.0-buster

- label: run-specs-ruby-3.1
command:
- .expeditor/run_linux_tests.sh rspec
- label: "run-specs-ruby-3.0-windows"
commands:
- .expeditor/verify_win32certstore.ps1
expeditor:
executor:
docker:
image: ruby:3.1-buster
host_os: windows
image: rubydistros/windows-2019:3.0
shell: [ "powershell", "-Command" ]

- label: "run specs :windows:"
- label: "run-specs-ruby-3.1-windows"
commands:
# - Get-Childitem .expeditor
- .expeditor/verify_win32certstore.ps1
expeditor:
executor:
docker:
host_os: windows
image: rubydistros/windows-2019:3.0
image: rubydistros/windows-2019:3.1
shell: [ "powershell", "-Command" ]