Increase the number of retries during test runs in CI (#14565)

This commit is contained in:
Zanie Blue
2025-07-11 13:59:47 -05:00
committed by GitHub
parent 081e2010df
commit ee35fe34ab
3 changed files with 36 additions and 9 deletions

View File

@@ -223,6 +223,9 @@ jobs:
tool: cargo-nextest
- name: "Cargo test"
env:
# Retry more than default to reduce flakes in CI
UV_HTTP_RETRIES: 5
run: |
cargo nextest run \
--features python-patch \
@@ -256,6 +259,9 @@ jobs:
tool: cargo-nextest
- name: "Cargo test"
env:
# Retry more than default to reduce flakes in CI
UV_HTTP_RETRIES: 5
run: |
cargo nextest run \
--no-default-features \
@@ -300,6 +306,8 @@ jobs:
- name: "Cargo test"
working-directory: ${{ env.UV_WORKSPACE }}
env:
# Retry more than default to reduce flakes in CI
UV_HTTP_RETRIES: 5
# Avoid permission errors during concurrent tests
# See https://github.com/astral-sh/uv/issues/6940
UV_LINK_MODE: copy