mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +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
|
||||
}
|
||||
|
||||
# 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" {
|
||||
"cabal --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user