mirror of
https://github.com/Lifailon/lazyjournal.git
synced 2026-11-11 01:09:46 +01:00
debug win tests for ci
This commit is contained in:
@@ -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
@@ -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"},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user