Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:green_heart: Validate E2E shard coverage with the full shard list in per-shard jobs

Danield39a7d7f7ece
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 745eda2815..20bf1a1474 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -243,6 +243,9 @@ jobs:
if: matrix.config.e2e_shards != ''
run: |
pnpm run typecheck
+ # 每个 E2E job 只配置自己的 shard,校验脚本需要全量 shard 列表
+ # 才能验证三个 shard 的并集覆盖全部测试且无重复
+ unset SIYUAN_E2E_SHARDS
pnpm run test:shards
working-directory: ${{ github.workspace }}/siyuan-testing