From f771b7dbef27a96ae733871e522a8e32cdc8bc26 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sun, 8 Mar 2026 21:01:13 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E6=B7=BB=E5=8A=A0=20GFramework.Ec?= =?UTF-8?q?s.Arch.Tests=20=E6=B5=8B=E8=AF=95=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 CI 工作流添加新的测试步骤 - 配置 GFramework.Ecs.Arch.Tests 的测试运行命令 - 设置测试结果输出目录为 TestResults - 使用 trx 格式记录测试日志文件 - 保持与现有测试配置一致的结构和格式 --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 628753b..8ec0bef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,6 +125,15 @@ jobs: --no-build \ --logger "trx;LogFileName=sg-$RANDOM.trx" \ --results-directory TestResults + + - name: Test - GFramework.Ecs.Arch.Tests + run: | + dotnet test GFramework.Ecs.Arch.Tests \ + -c Release \ + --no-build \ + --logger "trx;LogFileName=ecs-arch-$RANDOM.trx" \ + --results-directory TestResults + - name: Generate CTRF report run: | mkdir -p ctrf