diff options
author | Jeremiah Snapp <jeremiah.snapp@gmail.com> | 2022-04-13 07:23:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 07:23:57 -0400 |
commit | 00caf8367203dca11a9d3ccfc4819f85b7fe2542 (patch) | |
tree | f037ceae2cace4a2c31629d3d3e18c9c444f38d9 /.expeditor/run_windows_tests.ps1 | |
parent | 78e6c110c7d6533fe9ca2b0bda029e66531efd99 (diff) | |
parent | ed9b335ea73670e6342f05e34470919935fa9e1c (diff) | |
download | mixlib-config-00caf8367203dca11a9d3ccfc4819f85b7fe2542.tar.gz |
Merge pull request #111 from chef/IPACK-160-mixlib-config-add-ruby-3-0-3-1-tests-on-windows-platform
add ruby tests 3.0/3.1 on windows platform
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 |