cfdaily
d53c3d290f
fix(ci): install pytest when pyproject.toml is missing
...
CI / lint (push) Successful in 7s
CI / lint (pull_request) Successful in 7s
CI / test (push) Successful in 4s
CI / test (pull_request) Successful in 4s
CI / notify-on-failure (push) Successful in 2s
CI / notify-on-failure (pull_request) Successful in 1s
Root cause: ci.yml test job creates .venv but skips dev install when
pyproject.toml is absent, leaving pytest uninstalled. Then .venv/bin/pytest
fails with 'No such file or directory'.
Fix: Install pytest directly when no pyproject.toml, and use /tmp path
to avoid workspace pollution.
2026-06-11 11:15:47 +08:00
cfdaily
f8c742ed41
feat: add CD pipeline with deploy to test target
...
CI / lint (push) Successful in 10s
CI / lint (pull_request) Successful in 6s
CI / test (push) Failing after 4s
CI / test (pull_request) Failing after 4s
CI / notify-on-failure (push) Successful in 2s
CI / notify-on-failure (pull_request) Successful in 2s
- Add src/hello.py and tests/test_hello.py
- Replace deploy placeholder with actual rsync + health check
- Deploy target: ~/.sanguo_projects/moziplus-v2-cd-test/
- Add deploy history recording
- Add failure notification via Issue creation
2026-06-11 10:55:36 +08:00
admin
fdc08602b3
Merge pull request 'feat: 工具链 v2.0 初始设置' ( #1 ) from feat/initial-setup into main
Deploy / ci (push) Failing after -3m59s
Deploy / deploy (push) Has been skipped
Deploy / notify-deploy-failure (push) Successful in -4m3s
CI / lint (push) Successful in 6s
CI / lint (pull_request) Successful in 6s
CI / test (push) Successful in 3s
CI / test (pull_request) Successful in 3s
CI / notify-on-failure (push) Successful in 1s
CI / notify-on-failure (pull_request) Successful in 3s
2026-06-06 19:00:09 +08:00
cfdaily
458af77382
fix(ci): skip pip install when pyproject.toml missing
CI / lint (push) Successful in -3m57s
CI / lint (pull_request) Successful in -3m58s
CI / test (push) Successful in -4m1s
CI / test (pull_request) Successful in -4m0s
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s
2026-06-06 18:49:40 +08:00
cfdaily
073121f7ca
fix: test and coverage gracefully skip when tests/ or src/ not exists
CI / lint (push) Successful in -3m58s
CI / lint (pull_request) Successful in -3m58s
CI / test (push) Failing after -3m59s
CI / test (pull_request) Failing after -3m59s
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s
2026-06-06 18:43:40 +08:00
cfdaily
b28d7cca9e
fix: lint gracefully skip when src/ not exists
CI / lint (push) Successful in -3m58s
CI / lint (pull_request) Successful in -3m58s
CI / test (push) Failing after -4m0s
CI / test (pull_request) Failing after -3m59s
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s
2026-06-06 18:41:43 +08:00
cfdaily
163e778096
fix: 司马懿 Review M1-M3 修复
...
CI / lint (push) Failing after -3m47s
CI / test (push) Has been skipped
CI / lint (pull_request) Failing after -3m57s
CI / test (pull_request) Has been skipped
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s
M1: runs-on ubuntu-latest → macos-arm64(匹配 act-runner label)
M2: flake8 → ruff(对齐设计文档 §8.4)
M3: ci.yml 排除 main 改为注释说明(main 由 deploy.yml 负责)
S1: deploy.yml 加 coverage report step
S3: pip install -r requirements.txt → -e .[dev]
S4: ci.yml 非 PR 事件 CI 失败改创建 Issue
2026-06-06 17:23:29 +08:00
cfdaily
db184c32b5
fix: rename GITEA_TOKEN to CI_TOKEN in workflows (Gitea reserves GITEA_* prefix)
CI / lint (push) Waiting to run
CI / test (push) Blocked by required conditions
CI / notify-on-failure (push) Blocked by required conditions
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / notify-on-failure (pull_request) Has been cancelled
2026-06-06 13:59:03 +08:00
admin
09b8bf3ba4
Initial commit
2026-06-06 13:54:38 +08:00