mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-28 20:38:12 +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:
19
images/macos/tests/Haskell.Tests.ps1
Normal file
19
images/macos/tests/Haskell.Tests.ps1
Normal file
@@ -0,0 +1,19 @@
|
||||
$os = Get-OSVersion
|
||||
|
||||
Describe "Haskell" -Skip:($os.IsHighSierra) {
|
||||
Context "GHCup" {
|
||||
It "GHCup" {
|
||||
"ghcup --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Context "GHC" {
|
||||
It "GHC" {
|
||||
"ghc --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
Context "Cabal" {
|
||||
It "Cabal" {
|
||||
"cabal --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user