Commit Graph

10 Commits

Author SHA1 Message Date
pzhang_zywl 682dedb4b4 fix: 完善 UT 覆盖,统一 pytest 测试发现 - Closes #2
CI / test (pull_request) Successful in 9s
- 新建 pytest.ini 统一 test discovery(tests/ + skills/ir_generation_skill/tests/)
- test_step1~3 转换为 pytest 兼容格式,无输出文件时自动 skip
- 新增 tests/test_detect_conflicts.py(18 个纯函数单测)
- 新增 tests/test_config.py(7 个配置模块单测)
- CI 改为 pytest -v 使用 pytest.ini testpaths
- DEV_AGENT.md 新增 PR 提交规范

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:07:07 +08:00
pzhang_zywl 7cf2231342 fix: use env var for API token, YAML folded scalar for args
CI / test (push) Failing after 7s
2026-05-29 22:07:39 +08:00
pzhang_zywl cd534710e2 fix: use actual secret name D
CI / test (push) Failing after 6s
2026-05-29 22:05:14 +08:00
pzhang_zywl 3ebdfb45b4 fix: use git clone instead of actions/checkout, use cmd shell for issue step
CI / test (push) Failing after 8s
2026-05-29 22:02:48 +08:00
pzhang_zywl d71c1156fb fix: remove actions/checkout (blocked by GitHub in China)
CI / test (push) Failing after 3s
2026-05-29 22:00:59 +08:00
pzhang_zywl ea61b6a465 debug: add echo steps to verify if:failure() trigger
CI / test (push) Failing after 26s
2026-05-29 21:58:34 +08:00
pzhang_zywl 95281618dd fix: match secret name to document_analyzer
CI / test (push) Failing after 22s
2026-05-29 21:54:17 +08:00
pzhang_zywl 1649993c4b fix: use step-level if:failure() for auto-issue
CI / test (push) Failing after 20s
2026-05-29 20:38:58 +08:00
pzhang_zywl e76f7c365b feat: consolidate auto-issue into ci.yml with if: failure()
CI / test (push) Failing after 20s
CI / create-issue-on-failure (push) Has been skipped
- Replace workflow_run with same-workflow conditional job
- Add create_failure_issue.py script for Gitea API integration
- More reliable than cross-workflow triggers

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 20:35:28 +08:00
pzhang_zywl 40567a4fb6 Initial commit: document_analyzer with CI/CD pipeline
CI / test (push) Successful in 30s
- 4 skill pipeline (doc_parser, conflict_detection, ir_generation, resolution_application)
- CI workflow on push/PR (.gitea/workflows/ci.yml)
- Auto-issue on CI failure (.gitea/workflows/auto-issue.yml)
- Pytest smoke tests (tests/test_sample.py)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 20:00:26 +08:00