mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(ci): 更新 .NET 工具命令参数
- 将 DotnetCtrfJsonReporter 的输出参数从 -o 替换为 -d 和 -f - 为 ctrf 输出目录添加显式指定参数 - 为输出文件名添加格式化参数 - 保持测试报告生成功能在测试后执行的逻辑不变
This commit is contained in:
parent
fe9f610c93
commit
8ea9752fc8
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -95,9 +95,11 @@ jobs:
|
||||
dotnet tool run DotnetCtrfJsonReporter \
|
||||
-p "$trx" \
|
||||
-t nunit \
|
||||
-o "ctrf/$name.json"
|
||||
-d ctrf \
|
||||
-f "$name.json"
|
||||
done
|
||||
|
||||
|
||||
# 生成并发布测试报告,无论测试成功或失败都会执行
|
||||
- name: Test Report
|
||||
uses: dorny/test-reporter@v2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user