mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-24 20:34:29 +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 \
|
--no-build \
|
||||||
--logger trx \
|
--logger trx \
|
||||||
--results-directory TestResults
|
--results-directory TestResults
|
||||||
# 创建输出目录
|
dotnet tool run DotnetCtrfJsonReporter -t "TestResults/testResults.trx"
|
||||||
mkdir -p ctrf
|
|
||||||
|
|
||||||
# 生成 CTRF 报告 (根据工具文档调整参数)
|
|
||||||
dotnet tool run DotnetCtrfJsonReporter \
|
|
||||||
--trx-file-path "TestResults/*.trx" \
|
|
||||||
--output-file "ctrf/report.json"
|
|
||||||
- name: Debug - Verify CTRF files
|
- name: Debug - Verify CTRF files
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user