From e70e63a9737ed3a9e72f1329901075498190e6b4 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 26 Jan 2026 17:54:35 +0800 Subject: Fixed Windows CI test coverage Added missing try_catch_spec.yue compilation command to both x86 and x64 builds in windows.yml, matching the Makefile test target. Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 04d08b0..9cd09fc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -26,6 +26,7 @@ jobs: bin\windows\Win32\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 bin\windows\Win32\Debug\yue.exe spec\inputs\import_global.yue -o spec\generated\5.1\import_global.lua --target=5.1 bin\windows\Win32\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 + bin\windows\Win32\Debug\yue.exe spec\inputs\test\try_catch_spec.yue -o spec\generated\5.1\test\try_catch_spec.lua --target=5.1 bin\windows\Win32\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated bin\windows\Win32\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" msbuild win-build\Yuescript.sln /p:Configuration=Debug /p:Platform=x64 @@ -36,6 +37,7 @@ jobs: bin\windows\x64\Debug\yue.exe spec\inputs\attrib.yue -o spec\generated\5.1\attrib.lua --target=5.1 bin\windows\x64\Debug\yue.exe spec\inputs\import_global.yue -o spec\generated\5.1\import_global.lua --target=5.1 bin\windows\x64\Debug\yue.exe spec\inputs\test\loops_spec.yue -o spec\generated\5.1\test\loops_spec.lua --target=5.1 + bin\windows\x64\Debug\yue.exe spec\inputs\test\try_catch_spec.yue -o spec\generated\5.1\test\try_catch_spec.lua --target=5.1 bin\windows\x64\Debug\yue.exe -e spec/inputs/compile_doc.yue spec/generated bin\windows\x64\Debug\yue.exe -e "io.popen('git diff --no-index spec\\outputs spec\\generated')\read('*a') |> ((r)-> r ~= '' and (print(r) or os.exit 1))" - name: pack -- cgit v1.2.3-55-g6feb