Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

ci: retry macos pytest install

JerrettDavis8bf11d22adb9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fa3dda675..21bb18369 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -175,11 +175,11 @@ jobs:
with:
python-version: "3.11"
- - name: Install bash and test dependencies
- run: |
- brew install bash
- python -m pip install --upgrade pip
- pip install pytest
+ - name: Install bash and test dependencies
+ run: |
+ brew install bash
+ python -m pip install --upgrade pip
+ python -m pip install --retries 10 --timeout 60 pytest
- name: Run native installer wrapper tests
run: |
diff --git a/tests/test_release_workflows.py b/tests/test_release_workflows.py
index fc270fc99..ff866853b 100644
--- a/tests/test_release_workflows.py
+++ b/tests/test_release_workflows.py
@@ -47,3 +47,9 @@ def test_create_release_runs_after_successful_build_even_if_other_publishes_fail
)
assert "always()" in content
assert "needs.build.result == 'success'" in content
+
+
+def test_macos_native_wrapper_dependency_install_retries_pypi_downloads() -> None:
+ content = (ROOT / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8")
+
+ assert "python -m pip install --retries 10 --timeout 60 pytest" in content