mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 21:56:55 +00:00
[Ubuntu] Migrate Toolset tests to Pester (#2339)
* migrate toolset tests to pester * move test invocation * minor fixes
This commit is contained in:
committed by
GitHub
parent
ab06a8a68f
commit
f58f2c1e02
@@ -4,6 +4,8 @@
|
||||
## Desc: Configure toolset
|
||||
################################################################################
|
||||
|
||||
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
|
||||
|
||||
function Get-ToolsetToolFullPath
|
||||
{
|
||||
param
|
||||
@@ -93,3 +95,5 @@ foreach ($tool in $toolset.toolcache)
|
||||
Invoke-Expression -Command $command
|
||||
}
|
||||
}
|
||||
|
||||
Invoke-PesterTests -TestFile "Toolset" -TestName "Toolset"
|
||||
Reference in New Issue
Block a user