mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
16 lines
458 B
PowerShell
16 lines
458 B
PowerShell
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1"
|
|
|
|
$os = Get-OSVersion
|
|
|
|
Describe "Git" {
|
|
It "git is installed" {
|
|
"git --version" | Should -ReturnZeroExitCode
|
|
}
|
|
It "git lfs is installed" -Skip:($os.IsBigSur) {
|
|
"git lfs version" | Should -ReturnZeroExitCode
|
|
}
|
|
It "GIT_CLONE_PROTECTION_ACTIVE environment variable should be equal false" {
|
|
$env:GIT_CLONE_PROTECTION_ACTIVE | Should -BeExactly false
|
|
}
|
|
}
|