fix(ci): 更新工作流中的测试命令

- 注释掉原始的 dotnet test 命令
- 添加带过滤输出的新测试命令,只显示测试总数、通过数和失败数
- 保持测试执行的正常流程不受影响
This commit is contained in:
GeWuYou 2026-01-17 10:00:24 +08:00
parent d8df348bec
commit 177de6d3e6

View File

@ -61,7 +61,8 @@ jobs:
- name: Build
run: dotnet build -c Release --no-restore -p:DebugType=portable
- name: Test
run: dotnet test --no-build -c Release --verbosity normal
# run: dotnet test --no-build -c Release --verbosity normal
run: dotnet test --no-build -c Release --verbosity normal 2>&1 | grep -E "测试总数|通过数|失败数"
# 步骤三:计算下一个版本号(若未被跳过)
# 自动解析当前最新标签并递增修订号生成新的语义化版本号
- name: Get next version