mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 00:06:57 +00:00
[Ubuntu] Install the latest two versions of GHC (#2696)
* install two ghc versions * fix comments
This commit is contained in:
committed by
GitHub
parent
77b21e0c24
commit
06559cab21
@@ -5,9 +5,9 @@ Describe "Haskell" {
|
||||
|
||||
$testCase = @{ GHCVersions = $GHCVersions }
|
||||
|
||||
It "GHC directory contains three version of GHC" -TestCases $testCase {
|
||||
It "GHC directory contains two version of GHC" -TestCases $testCase {
|
||||
param ([object] $GHCVersions)
|
||||
$GHCVersions.Count | Should -Be 3
|
||||
$GHCVersions.Count | Should -Be 2
|
||||
}
|
||||
|
||||
$testCases = $GHCVersions | ForEach-Object { @{ GHCPath = "${_}/bin/ghc"} }
|
||||
|
||||
Reference in New Issue
Block a user