diff options
author | poornima <poorndm@progress.com> | 2022-04-08 20:19:02 +0530 |
---|---|---|
committer | poornima <poorndm@progress.com> | 2022-04-08 20:21:15 +0530 |
commit | 7c000273259a70fbbbfe534fc9bb1d5c6b122b15 (patch) | |
tree | cb0f5b544e510170ca6f7549eebf76805097f30c | |
parent | d27c3236746752dfdb9100ea691bbfbae18072dd (diff) | |
download | wmi-lite-7c000273259a70fbbbfe534fc9bb1d5c6b122b15.tar.gz |
Add ruby tests on windowspoorndm/IPACK-117-Test-Ruby-3.1
Signed-off-by: poornima <poorndm@progress.com>
-rw-r--r-- | .expeditor/run_windows_tests.ps1 | 16 | ||||
-rw-r--r-- | .expeditor/verify.pipeline.yml | 1 |
2 files changed, 16 insertions, 1 deletions
diff --git a/.expeditor/run_windows_tests.ps1 b/.expeditor/run_windows_tests.ps1 new file mode 100644 index 0000000..c37728b --- /dev/null +++ b/.expeditor/run_windows_tests.ps1 @@ -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 } diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index 846b993..8f95135 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -70,4 +70,3 @@ steps: shell: ["powershell", "-Command"] image: rubydistros/windows-2019:3.1 user: 'NT AUTHORITY\SYSTEM' - |