From 524ceff770b925f492c9fb24decb441fa311d6fc Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Thu, 29 Jan 2026 17:32:24 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E7=AE=80=E5=8C=96CTRF=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E7=94=9F=E6=88=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除手动创建目录和多参数调用方式,改用简化的命令行参数 直接指定TRX文件路径,提高构建脚本的可读性和维护性 --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca3c7e..fcd0273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |