[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:
Darii Nurgaleev
2021-01-14 00:46:44 +07:00
committed by GitHub
parent e508e876f7
commit 0a255311b1
13 changed files with 111 additions and 77 deletions

View 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
}
}
}