Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Python agent-infrastructureai-agentai-searchautomationbilibiliclaude-codeclicursorfree-apillm-toolsmcppythonreddit-scrapertwitter-scraperweb-scraperxiaohongshuyoutube-transcript
test(ci): run Windows shell checks with Git Bash
Pnant3ab50bc024d5
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.ymlindex f6724071..7171f86f 100644--- a/.github/workflows/pytest.yml+++ b/.github/workflows/pytest.yml@@ -46,6 +46,7 @@ jobs:python -m pip install -c constraints.txt -e ".[dev]"- name: Run tests+ shell: bashrun: |pytest -qdiff --git a/tests/test_integration_script.py b/tests/test_integration_script.pyindex 061a450d..192d3cc1 100644--- a/tests/test_integration_script.py+++ b/tests/test_integration_script.py@@ -6,7 +6,7 @@ SCRIPT = ROOT / "test.sh"def test_integration_script_has_valid_shell_syntax():- subprocess.run(["bash", "-n", str(SCRIPT)], check=True)+ subprocess.run(["bash", "-n", SCRIPT.name], check=True, cwd=ROOT)def test_integration_script_exercises_the_current_cli_contract():diff --git a/tests/test_opencode_skill.py b/tests/test_opencode_skill.pyindex 34326de3..bee5d391 100644--- a/tests/test_opencode_skill.py+++ b/tests/test_opencode_skill.py@@ -90,7 +90,11 @@ def test_full_uninstall_includes_opencode_directory(with patch("agent_reach.cli.os.path.expanduser",- side_effect=lambda value: value.replace("~", os.fspath(tmp_path)),+ side_effect=lambda value: os.fspath(+ tmp_path / value.removeprefix("~/")+ )+ if value.startswith("~/")+ else value,), patch("agent_reach.utils.paths.home_dir", return_value=tmp_path), patch("shutil.which", return_value=None):diff --git a/tests/test_p0_cli.py b/tests/test_p0_cli.pyindex c64e1871..12196935 100644--- a/tests/test_p0_cli.py+++ b/tests/test_p0_cli.py@@ -699,7 +699,6 @@ def test_system_install_uses_ytdlp_first_user_config(import agent_reach.utils.paths as paths- monkeypatch.setattr(paths.sys, "platform", "darwin")monkeypatch.setattr(paths.Path, "home", classmethod(lambda cls: tmp_path))monkeypatch.delenv("XDG_CONFIG_HOME")monkeypatch.setattr(diff --git a/tests/test_xiaoyuzhou_install.py b/tests/test_xiaoyuzhou_install.pyindex 7993fc23..f49f1f7e 100644--- a/tests/test_xiaoyuzhou_install.py+++ b/tests/test_xiaoyuzhou_install.py@@ -59,12 +59,17 @@ def test_install_xiaoyuzhou_deps_replaces_stale_managed_script(assert installed.read_text(encoding="utf-8") == TRANSCRIBE_SCRIPT.read_text(encoding="utf-8")- assert installed.stat().st_mode & stat.S_IXUSR+ if os.name != "nt":+ assert installed.stat().st_mode & stat.S_IXUSRassert "script updated" in capsys.readouterr().outdef test_transcribe_script_is_cross_platform_shell_syntax():- subprocess.run(["bash", "-n", str(TRANSCRIBE_SCRIPT)], check=True)+ subprocess.run(+ ["bash", "-n", TRANSCRIBE_SCRIPT.relative_to(ROOT).as_posix()],+ check=True,+ cwd=ROOT,+ )def test_transcribe_script_handles_git_bash_python_and_size_math():