Skip to content

Commit

Permalink
add timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
alik-git committed Dec 21, 2024
1 parent c49b7f9 commit 6de048d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
name: Build and publish Python package (${{ matrix.os }})
timeout-minutes: 60
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -38,7 +39,7 @@ jobs:
with:
toolchain: stable

# Notice: we do NOT set up QEMU here,
# We do NOT set up QEMU here,
# so macOS won't fail on QEMU steps.

- name: Install dependencies
Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
#
build-source-dist:
name: Build and publish Python package (source distribution)
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
publish-wheels:
needs: [build-wheels, build-source-dist]
name: Publish Python wheels
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
Expand All @@ -142,6 +145,7 @@ jobs:
#
publish-rust:
name: Build and publish Rust package
timeout-minutes: 10
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -252,6 +256,7 @@ jobs:
name: Publish QEMU-based wheels
needs: [build-qemu-wheels]
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Download QEMU wheels
Expand Down

0 comments on commit 6de048d

Please sign in to comment.