mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
chore(ci): 简化CTRF报告生成配置
移除手动创建目录和多参数调用方式,改用简化的命令行参数 直接指定TRX文件路径,提高构建脚本的可读性和维护性
This commit is contained in:
parent
9a158d6c7e
commit
524ceff770
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -66,13 +66,7 @@ jobs:
|
||||
--no-build \
|
||||
--logger trx \
|
||||
--results-directory TestResults
|
||||
# 创建输出目录
|
||||
mkdir -p ctrf
|
||||
|
||||
# 生成 CTRF 报告 (根据工具文档调整参数)
|
||||
dotnet tool run DotnetCtrfJsonReporter \
|
||||
--trx-file-path "TestResults/*.trx" \
|
||||
--output-file "ctrf/report.json"
|
||||
dotnet tool run DotnetCtrfJsonReporter -t "TestResults/testResults.trx"
|
||||
- name: Debug - Verify CTRF files
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user