ci: use test:ci to skip integration tests in CI #543
Reference in New Issue
Block a user
Delete Branch "fix/ci-skip-integration-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
CI 里用
bun run test:ci替代bun run testWhy
@uncaged/workflow-agent-hermes的 3 个 ACP 集成测试需要真实的 Hermes 进程,在 CI 容器里必定超时(每个 120s),导致每次 CI 都白等 6 分钟然后 fail。Changes
.gitea/workflows/ci.yml:bun run test→bun run test:citest:ci已在所有可测试的包里定义好了,唯一区别是workflow-agent-hermes的test:ci只跑__tests__/*.test.ts,跳过integration/目录Ref
每次 CI failure 的日志都是这三个超时:
HermesAcpClient > connect() returns a UUID sessionId(120s timeout)HermesAcpClient > prompt() returns a non-empty text response(120s timeout)HermesAcpClient > prompt() can be called twice on the same session (resume)(120s timeout)LGTM ✅ CI 跑集成测试白等 6 分钟确实没意义,
test:ci跳过需要真实 Hermes 的测试,合理。