mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[Windows] win: add validation InstalledSoftware.md and testResults.xml files (#3960)
* win: add validation InstalledSoftware.md file
This commit is contained in:
committed by
GitHub
parent
ca51829236
commit
5aa96839a8
@@ -53,6 +53,10 @@ function Invoke-PesterTests {
|
||||
if ($TestName) {
|
||||
$configuration.Filter.FullName = $TestName
|
||||
}
|
||||
if ($TestFile -eq "*") {
|
||||
$configuration.TestResult.Enabled = $true
|
||||
$configuration.TestResult.OutputPath = "C:\image\Tests\testResults.xml"
|
||||
}
|
||||
|
||||
# Update environment variables without reboot
|
||||
Update-Environment
|
||||
|
||||
Reference in New Issue
Block a user