mirror of
https://github.com/containers/podman.git
synced 2025-10-18 11:42:55 +08:00

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>
14 lines
246 B
PowerShell
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
|