Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Aug 22, 2023

An issue currently is that the Windows tests are by far the slowest which drags everything down. This is mainly because it takes so long to install dependencies:

image

Above time to merge was approximately 1m24s + 8m44s = 10m8s

For integration tests the Windows ones are optional since we expect them to rarely fail, so they rely on us to notice. I don't think we should do this for the unit tests though as we want auto merge to be reliable and they're more likely to fail.

This change kicks off the required unit test and integration test jobs immediately and then waits for the build job to finish after installing dependencies, effectively saving up to the build job time (~1m30s) from the required checks. We only do this for the subset of jobs that are marked as required to merge to be a good GH actions citizen and not use agents so eagerly, this should also ensure the required unit test job will get a Windows agent before the optional integration test one.

image

Above time to merge was approximately max(1m18s, 6m48s) = 6m48s - probably just got lucky here or unlucky in the top one for the individual job times

@Tyriar Tyriar self-assigned this Aug 22, 2023
@Tyriar Tyriar closed this Aug 22, 2023
@Tyriar Tyriar reopened this Aug 22, 2023
@Tyriar Tyriar changed the title Try parallelize tests and build Parallelize required tests and build jobs Aug 22, 2023
@Tyriar Tyriar merged commit 94ab565 into xtermjs:master Aug 22, 2023
@Tyriar Tyriar added this to the 5.3.0 milestone Aug 22, 2023
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.

1 participant