mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
ci: retry macos pytest install
This commit is contained in:
parent
f5dfdda253
commit
8bf11d22ad
2 changed files with 11 additions and 5 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue