mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
[windows] Add a test to make sure version 9 is the default one (#3377)
This commit is contained in:
@@ -36,6 +36,11 @@ Describe "Haskell" {
|
|||||||
"ghc --version" | Should -MatchCommandOutput $defaultGhcShortVersion
|
"ghc --version" | Should -MatchCommandOutput $defaultGhcShortVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Sometimes choco doesn't return version 9, need to check it explicitly https://github.com/chocolatey/choco/issues/2271
|
||||||
|
It "Default GHC version is 9" -TestCases $ghcDefaultCases {
|
||||||
|
"ghc --version" | Should -MatchCommandOutput "9(\.\d+){2,}"
|
||||||
|
}
|
||||||
|
|
||||||
It "Cabal is installed" {
|
It "Cabal is installed" {
|
||||||
"cabal --version" | Should -ReturnZeroExitCode
|
"cabal --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user