-
Notifications
You must be signed in to change notification settings - Fork 17
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
Ideas about splitting slow l3build check/doc
into smaller even runs
#314
Comments
This part I think is a definite no: the entire reason that the |
Sounds like |
Could just be |
I'd imagine |
When using
l3build
in a CI, users may want to split a slow job runningl3build check
and/orl3build doc
into several smaller even jobs run in parallel, to speed up the CI. The "even" means those smaller jobs are expected to take time as equal as possible.Splitting by bundles and by config files are natural ways, but they usually result in uneven jobs, and they can't help in splitting a single config further.
To split
l3build check
, assuming each test takes equal times to check,--first <name>
and--last <name>
, which is far from ideal.See commit latex3/latex2e@46f836e (Split LuaTeX main test executions in GH Actions, 2023-08-07) and Speed up automated testing (
main.yaml
) workflow runs latex2e#1073.--first-num <number>
and--last-num <number>
which denotes the number of first and last tests to run seems a little better than--first/--last
.To split
l3build doc
, assuming user knowns which names are specifically slow, for example thesource3
in l3kernel bundle, latex3/latex3 repository,--skip <names>
would help a lot.It will opens the possibility of running
l3build doc source3
andl3build doc --skip source3
in parallel jobs.!
, sol3build doc '!source3'
would be the same asl3build doc --skip source3
.To split
l3build ctan
, one possible way is to provide a pair of new options--no-check
and--no-doc
.How do other testing tools for general-purpose programming languages handle this task?
The text was updated successfully, but these errors were encountered: