Merge pull request #49 from Panniantong/fix/ci-test-github-check

fix: CI 测试修复 — gh CLI 在 CI 环境不存在
This commit is contained in:
Pnant 2026-02-27 20:41:30 +08:00 committed by GitHub
commit 6a28b215af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ class TestDoctor:
def test_zero_config_channels_ok(self, tmp_config):
results = check_all(tmp_config)
assert results["web"]["status"] == "ok"
assert results["github"]["status"] == "ok"
assert results["github"]["status"] in ("ok", "warn") # warn if gh CLI not installed
assert results["bilibili"]["status"] in ("ok", "warn") # warn on servers
assert results["rss"]["status"] == "ok"