From 89ed82d919cc904eef0f7bb356e2b3b52a02edc6 Mon Sep 17 00:00:00 2001 From: huyiwen <1020030101@qq.com> Date: Sun, 9 Jun 2024 19:58:37 +0800 Subject: [PATCH] [ci] retry on pip install --- .github/workflows/pytest-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest-check.yml b/.github/workflows/pytest-check.yml index 3855ae86..a536b413 100644 --- a/.github/workflows/pytest-check.yml +++ b/.github/workflows/pytest-check.yml @@ -28,7 +28,7 @@ jobs: - name: Install dependencies run: | pip install uv pip -U - uv pip install -r tests/requirements-tests.txt --system + uv pip install -r tests/requirements-tests.txt --system || uv pip install -r tests/requirements-tests.txt --system uv pip install vllm --no-build-isolation --system - name: Run tests run: pytest --cov --junit-xml=test-results.xml --splits 10 --group ${{ matrix.group }} --reruns 3 --only-rerun PermissionError