mirror of https://github.com/astral-sh/uv
Add retries to `system-test-opensuse` setup which flakes during database updates (#4622)
e.g. failure at https://github.com/astral-sh/uv/actions/runs/9714929523/job/26815318110 Seems to be some sort of issue where they're updating their package repository / database causing a spurious failure. I've seen this fail a lot lately.
This commit is contained in:
parent
164160da34
commit
948c0f151b
|
|
@ -675,11 +675,19 @@ jobs:
|
|||
name: "check system | python on opensuse"
|
||||
runs-on: ubuntu-latest
|
||||
container: opensuse/tumbleweed
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: "Install Python"
|
||||
run: zypper install -y python310 which && python3.10 -m ensurepip && mv /usr/bin/python3.10 /usr/bin/python3
|
||||
run: >
|
||||
until
|
||||
zypper install -y python310 which && python3.10 -m ensurepip && mv /usr/bin/python3.10 /usr/bin/python3;
|
||||
do sleep 10;
|
||||
done
|
||||
|
||||
# We retry because `zypper` can fail during remote repository updates
|
||||
# The above will not sleep forever due to the job level timeout
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@v4
|
||||
|
|
|
|||
Loading…
Reference in New Issue