mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
[Ubuntu] Add Fastlane (#2751)
This commit is contained in:
@@ -344,3 +344,26 @@ Describe "Python" {
|
||||
"$PythonCommand --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Ruby" {
|
||||
$testCases = @("ruby", "gem") | ForEach-Object { @{RubyCommand = $_} }
|
||||
|
||||
It "<RubyCommand>" -TestCases $testCases {
|
||||
param (
|
||||
[string] $RubyCommand
|
||||
)
|
||||
|
||||
"$RubyCommand --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
$gemTestCases = (Get-ToolsetContent).rubygems | ForEach-Object {
|
||||
@{gemName = $_.name}
|
||||
}
|
||||
|
||||
if ($gemTestCases)
|
||||
{
|
||||
It "Gem <gemName> is installed" -TestCases $gemTestCases {
|
||||
"gem list -i '^$gemName$'" | Should -MatchCommandOutput "true"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user