Files
runner-images/images/macos/tests/RubyGem.Tests.ps1
Maksim Shilov 89e19af4c9 [MacOS] Add GCC and remove Nomad from MacOS 12 image (#4667)
* Add gcc 11 to macos12

* Remove nomad-shenzhen cli from macos12
2021-12-08 00:35:25 +03:00

44 lines
914 B
PowerShell

$os = Get-OSVersion
Describe "RubyGems" {
$gemTestCases = Get-ToolsetValue -KeyPath "ruby.rubygems" | ForEach-Object {
@{gemName = $_}
}
if ($gemTestCases)
{
It "Gem <gemName> is installed" -TestCases $gemTestCases {
"gem list -i '^$gemName$'" | Should -MatchCommandOutput "true"
}
}
}
Describe "Bundler" {
It "Bundler" {
"bundler --version" | Should -ReturnZeroExitCode
}
}
Describe "Nomad shenzhen CLI" -Skip:($os.IsMonterey) {
It "Nomad shenzhen CLI" {
"ipa --version" | Should -ReturnZeroExitCode
}
}
Describe "Fastlane" {
It "Fastlane" {
"fastlane --version" | Should -ReturnZeroExitCode
}
}
Describe "xcpretty" {
It "xcpretty" {
"xcpretty --version" | Should -ReturnZeroExitCode
}
}
Describe "jazzy" {
It "jazzy" {
"jazzy --version" | Should -ReturnZeroExitCode
}
}