Skip to content

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

fix: CI test — allow github channel 'warn' when gh CLI not installed

Panniantonga881db42617c
diff --git a/tests/test_doctor.py b/tests/test_doctor.py
index a87d56db..8f85c309 100644
--- a/tests/test_doctor.py
+++ b/tests/test_doctor.py
@@ -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"