debug win tests for ci

This commit is contained in:
Lifailon
2025-02-27 16:48:00 +03:00
parent 98d7291c75
commit 20f674d740
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -109,8 +109,9 @@ jobs:
- name: Functions testing in Windows
if: ${{ github.event.inputs.testFunctions == 'true' && github.event.inputs.Distro == 'windows-2022' }}
run: |
Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -Command 'go test -v --run TestWin* -cover'" -Verb RunAs
# go test -v --run TestWinEvents -cover
"line test" | Out-File -FilePath "$env:APPDATA\test.log" -Encoding utf8
ls "$env:APPDATA\test.log"
go test -v --run TestWin* -cover
ls
cat test-report.md
shell: pwsh
+1 -1
View File
@@ -42,7 +42,7 @@ func TestWinFiles(t *testing.T) {
// {"Program Files", "ProgramFiles"},
// {"Program Files 86", "ProgramFiles86"},
// {"ProgramData", "ProgramData"},
{"AppData/Local", "AppDataLocal"},
// {"AppData/Local", "AppDataLocal"},
{"AppData/Roaming", "AppDataRoaming"},
}