mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add retries to system-test-opensuse
setup which flakes during database updates (#4622)
e.g. failure at
2681531811
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
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -675,11 +675,19 @@ jobs:
|
||||||
name: "check system | python on opensuse"
|
name: "check system | python on opensuse"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: opensuse/tumbleweed
|
container: opensuse/tumbleweed
|
||||||
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "Install Python"
|
- 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"
|
- name: "Download binary"
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue