diff options
author | PrajaktaPurohit <PrajaktaPurohit@users.noreply.github.com> | 2022-04-07 06:43:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 06:43:38 -0700 |
commit | e5a01d7ca8695bf9a13b48dc27011f66be75c9aa (patch) | |
tree | 47adc7f003846dda1042a78eae201cd116674fae /.expeditor/run_windows_tests.ps1 | |
parent | 2f7712deb8f1889d19e8ba86a2ce2ebd83cb24ca (diff) | |
parent | 1ec0308cda4a9d42300bc96ce0e9e4e9eb16d94b (diff) | |
download | mixlib-cli-main.tar.gz |
Merge pull request #84 from chef/IPACK-101-chef-mixlib-cli-operationalize-ruby-3-0-3-1-in-verify-pipelineHEADmain
add ruby tests 3.0 and 3.1 in verify pipeline
Diffstat (limited to '.expeditor/run_windows_tests.ps1')
-rw-r--r-- | .expeditor/run_windows_tests.ps1 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.expeditor/run_windows_tests.ps1 b/.expeditor/run_windows_tests.ps1 new file mode 100644 index 0000000..f048b32 --- /dev/null +++ b/.expeditor/run_windows_tests.ps1 @@ -0,0 +1,17 @@ +# 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 }
\ No newline at end of file |