mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[Windows] Update cabal pester test (#5121)
* [Windows] Update cabal pester test * Add CABAL_DIR test
This commit is contained in:
committed by
GitHub
parent
bb7ee95a7b
commit
55a07214fe
@@ -49,9 +49,12 @@ Describe "Haskell" {
|
|||||||
"cabal --version" | Should -ReturnZeroExitCode
|
"cabal --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
It "cabal config was modified and exists" {
|
It "cabal folder does not exist" {
|
||||||
$env:CABAL_DIR | Should -Exist
|
$env:CABAL_DIR | Should -Not -Exist
|
||||||
"cabal user-config diff" | Should -ReturnZeroExitCode
|
}
|
||||||
|
|
||||||
|
It "CABAL_DIR environment variable exists" {
|
||||||
|
Get-EnvironmentVariable CABAL_DIR | Should -BeExactly "C:\cabal"
|
||||||
}
|
}
|
||||||
|
|
||||||
It "ghcup is installed" {
|
It "ghcup is installed" {
|
||||||
|
|||||||
Reference in New Issue
Block a user