-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from chef/nikhil/support-ruby-3.0-3.1
Added ruby 3.0/3.1 windows/linux image
- Loading branch information
Showing
4 changed files
with
75 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Stop script execution when a non-terminating error occurs | ||
$ErrorActionPreference = "Stop" | ||
# This will run ruby test on windows platform | ||
|
||
Write-Output "--- Bundle install" | ||
bundle config set --local without docs debug | ||
bundle config set --local path vendor/bundle | ||
If ($lastexitcode -ne 0) { Exit $lastexitcode } | ||
|
||
bundle install --jobs=7 --retry=3 | ||
If ($lastexitcode -ne 0) { Exit $lastexitcode } | ||
|
||
Write-Output "--- Bundle Execute" | ||
|
||
bundle exec rake spec | ||
If ($lastexitcode -ne 0) { Exit $lastexitcode } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters