fix(ci): job 级启用 PYTHONUTF8 修 Windows cp1252 中文输出崩溃

Windows runner stdout 默认 cp1252,fixture 脚本 print 全角冒号
触发 UnicodeEncodeError。UTF-8 mode 统一两平台,Linux 无副作用。
This commit is contained in:
openbot committed 2026-09-24 09:45:06 +08:00
1 parent f7b9eb7076
commit a46ab0d677
1 file changed
+4
+4
View File
@@ -7,6 +7,10 @@ on:
jobs: jobs:
test: test:
# Windows runner 的 stdout 默认 cp1252,Python print 中文/全角标点
# 会 UnicodeEncodeError。UTF-8 mode 统一两平台行为(Linux 上无副作用)。
env:
PYTHONUTF8: "1"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix: