Files
podman/contrib/cirrus/win-unit-main.ps1
Mario Loriedo af29bb5b6e Update CI to run Windows unit tests
Add a new target in winmake.ps1 to run unit tests and use
use it in a new cirrus task.

Fix machine_windows_test.go to make it work in CI machine.

Add the `!windows` tag on tests files that fail on Windows.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-03-16 13:40:16 +00:00

14 lines
246 B
PowerShell

#!/usr/bin/env powershell
. $PSScriptRoot\win-lib.ps1
if ($Env:CI -eq "true") {
Push-Location "$ENV:CIRRUS_WORKING_DIR\repo"
} else {
Push-Location $PSScriptRoot\..\..
}
Run-Command ".\winmake.ps1 localunit"
Pop-Location