mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +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
|
||||
}
|
||||
|
||||
It "cabal config was modified and exists" {
|
||||
$env:CABAL_DIR | Should -Exist
|
||||
"cabal user-config diff" | Should -ReturnZeroExitCode
|
||||
It "cabal folder does not exist" {
|
||||
$env:CABAL_DIR | Should -Not -Exist
|
||||
}
|
||||
|
||||
It "CABAL_DIR environment variable exists" {
|
||||
Get-EnvironmentVariable CABAL_DIR | Should -BeExactly "C:\cabal"
|
||||
}
|
||||
|
||||
It "ghcup is installed" {
|
||||
|
||||
Reference in New Issue
Block a user