Skip to content

Commit

Permalink
fix(ci): use junit
Browse files Browse the repository at this point in the history
  • Loading branch information
amorphobia committed Sep 9, 2024
1 parent 08bf627 commit b73a434
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ jobs:
- name: Tests
shell: pwsh
run: |
autohotkey.exe tests\rime_test_main.ahk 1 | echo
Start-Process -FilePath autohotkey.exe -ArgumentList @("/ErrorStdOut", "tests\rime_test_main.ahk", "1") -Wait
Get-Content tests\junit.xml
2 changes: 1 addition & 1 deletion tests/rime_test_main.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ Class RimeApiTests {
}

if A_Args.Length {
Yunit.Use(YunitStdOut).Test(RimeApiTests)
Yunit.Use(YunitJUnit).Test(RimeApiTests)
} else
Yunit.Use(YunitStdOut, YunitOutputDebug, YunitJUnit, YunitWindow).Test(RimeApiTests)

0 comments on commit b73a434

Please sign in to comment.