mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 01:03:18 +08:00
[macOS] Pester tests invocation after install. (#2421)
* [macOS] Fail Pester tests on error * return it back * [macOS] Pester tests invokation after install * fix nitpicks * CocoaPods fix
This commit is contained in:
33
images/macos/tests/RubyGem.Tests.ps1
Normal file
33
images/macos/tests/RubyGem.Tests.ps1
Normal file
@@ -0,0 +1,33 @@
|
||||
$os = Get-OSVersion
|
||||
|
||||
Describe "Bundler" {
|
||||
It "Bundler" {
|
||||
"bundler --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Nomad" -Skip:($os.IsBigSur) {
|
||||
Context "Nomad" {
|
||||
It "Nomad CLI" {
|
||||
$result = Get-CommandResult "gem list"
|
||||
$result.Output | Should -BeLike "*nomad-cli*"
|
||||
}
|
||||
}
|
||||
Context "Nomad CLI" {
|
||||
It "Nomad CLI IPA" {
|
||||
"ipa --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Fastlane" {
|
||||
It "Fastlane" {
|
||||
"fastlane --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
Describe "xcpretty" {
|
||||
It "xcpretty" {
|
||||
"xcpretty --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user