Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize locally and allow split repositories #55

Merged
merged 1 commit into from
Nov 21, 2021

Conversation

alex-pinkus
Copy link
Owner

Adding functionality to specify "part X of Y" of a repository. This
allows two things to happen:

  1. In CI, that repository will get split across multiple Github Actions
    hosts, each one having less work to do
  2. Running locally, the script will spin off each validation check as
    its own process and they will all return more quickly.

This is necessary to add firefox-ios as a top repository since it has
657 swift files, which would otherwise take 5 minutes on CI, and I'm not
ready to wait that long.

Fixes #49

Adding functionality to specify "part X of Y" of a repository. This
allows two things to happen:
1. In CI, that repository will get split across multiple Github Actions
hosts, each one having less work to do
2. Running locally, the script will spin off each validation check as
its own process and they will all return more quickly.

This is necessary to add `firefox-ios` as a top repository since it has
657 swift files, which would otherwise take 5 minutes on CI, and I'm not
ready to wait that long.

Fixes #49
@alex-pinkus alex-pinkus merged commit cecd071 into main Nov 21, 2021
@alex-pinkus alex-pinkus deleted the parallelize-repos branch November 21, 2021 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracking issue for adding firefox-ios as a top repo
1 participant