ci: retry macos pytest install

This commit is contained in:
JerrettDavis 2026-04-20 23:36:02 -05:00
parent f5dfdda253
commit 8bf11d22ad
2 changed files with 11 additions and 5 deletions

View file

@ -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: |

View file

@ -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