From bb9f2eed8eeca53f89fef295a4d567101e01c968 Mon Sep 17 00:00:00 2001 From: AAEE86 Date: Thu, 24 Sep 2026 10:32:59 +0800 Subject: [PATCH] ci: avoid rerunning gateway lib tests --- .github/workflows/rust-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 3f4149def..c8d6dfdc2 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -292,9 +292,12 @@ jobs: - name: Test bins run: cargo nextest run -p aether-gateway --bins - # 架构守卫(独立轻量 target)+ 此前未执行的未签名身份头安全用例 + # 只运行独立 integration targets;显式列出目标,避免 --tests 再次执行 lib/bin 测试。 - name: Test integration targets - run: cargo nextest run -p aether-gateway --tests + run: >- + cargo nextest run -p aether-gateway + --test admin_unsigned_identity_headers + --test architecture_guard - name: Show sccache stats if: always()