Skip to content

Commit

Permalink
Limit concurrency for nightly jobs (#372)
Browse files Browse the repository at this point in the history
This PR limits the number of concurrent nightly jobs to let other repos
to use the resource of GitHub-hosted runners. Currently, we have 200
scheduled nightly jobs, and each takes from 3.5 min to 15 min, occupying
the max number of concurrent jobs (i.e., 20) across all repos `pyg-team`
org:

<img width="1262" alt="image"
src="https://github.com/user-attachments/assets/372c4255-2941-46df-ab83-c1ad308466ad"
/>


This should be ok because nightly builds don't need to be avaialble
ASAP.
  • Loading branch information
akihironitta authored Jan 5, 2025
1 parent 7c34d84 commit 50cd40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
wheel:
if: github.repository == 'pyg-team/pyg-lib'
runs-on: ${{ matrix.os }}

strategy:
max-parallel: 10
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-14, windows-2019]
Expand Down

0 comments on commit 50cd40f

Please sign in to comment.