Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Jan 28, 2025
1 parent 58d314a commit c9e27b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/github.rake
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,10 @@ namespace :github do
end
end

matching_tasks.shuffle!

# Calculate tasks per job (rounded up)
JOBS_PER_RUNTIME = 10
JOBS_PER_RUNTIME = 5
tasks_per_job = (matching_tasks.size.to_f / JOBS_PER_RUNTIME).ceil

# Create batched matrix
Expand Down

0 comments on commit c9e27b3

Please sign in to comment.