7272 with :
7373 name : gem-x64-mingw32
7474
75- - name : Install native gem and test if TinyTDS loads
75+ - name : Install native gem
7676 shell : pwsh
7777 run : |
7878 $rubyArchitecture = (ruby -e "puts RbConfig::CONFIG['arch']").Trim()
8282 Write-Host "Looking to install $gemToInstall"
8383 gem install --local "$gemToInstall"
8484
85+ - name : Test if TinyTDS loads
86+ shell : pwsh
87+ run : |
8588 ruby -e "require 'tiny_tds'; puts TinyTds::Gem.root_path"
8689 exit $LASTEXITCODE
8790
@@ -189,7 +192,7 @@ jobs:
189192 with :
190193 name : gem-x64-mingw-ucrt
191194
192- - name : Install native gem and test if TinyTDS loads
195+ - name : Install native gem
193196 shell : pwsh
194197 run : |
195198 $rubyArchitecture = (ruby -e "puts RbConfig::CONFIG['arch']").Trim()
@@ -199,6 +202,9 @@ jobs:
199202 Write-Host "Looking to install $gemToInstall"
200203 gem install --local "$gemToInstall"
201204
205+ - name : Test if TinyTDS loads
206+ shell : pwsh
207+ run : |
202208 ruby -e "require 'tiny_tds'; puts TinyTds::Gem.root_path"
203209 exit $LASTEXITCODE
204210
@@ -305,12 +311,15 @@ jobs:
305311 shell : pwsh
306312 run : gem build tiny_tds.gemspec
307313
308- - name : Install gem and test if TinyTDS loads
314+ - name : Install gem
309315 shell : pwsh
310316 run : |
311317 $gemVersion = (Get-Content VERSION).Trim()
312318 gem install --local "tiny_tds-$gemVersion.gem"
313319
320+ - name : Test if TinyTDS loads
321+ shell : pwsh
322+ run : |
314323 ruby -e "require 'tiny_tds'; puts TinyTds::Gem.root_path"
315324 exit $LASTEXITCODE
316325
@@ -442,4 +451,8 @@ jobs:
442451 run : |
443452 gemVersion=$(<VERSION tr -d '[:space:]')
444453 gem install --local "tiny_tds-$gemVersion.gem"
454+
455+ - name : Test if TinyTDS loads
456+ shell : bash
457+ run : |
445458 ruby -e "require 'tiny_tds'; puts TinyTds::Gem.root_path"
0 commit comments