-
Notifications
You must be signed in to change notification settings - Fork 54
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 #378 from chef/poorndm/IPACK-66-ADD-WINDOWS-3.1-TEST
Add ruby 3.0/3.1 tests on windows
- Loading branch information
Showing
5 changed files
with
63 additions
and
39 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 --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 | ||
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
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