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

feat(cypress): Always run cypress CI in parallel #41039

Merged
merged 1 commit into from Oct 22, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Oct 21, 2023

Summary

The server always exceeds the free Cypress.io time so there is no benefit using it unless we go for the enterprise plan.
So this simply uses cypress-split to split the specs and run them in parallel CI workers (only e2e tests).

Prevent this:
Screenshot_20231021_172949

By simply using some split logic in the CI runs without external dependency on Cypress.io

Results

Seems to work fine, of cause this has no "intelligent" load balancing as using the Cypress cloud, but it still is better than always running out of time and stuck with no parallelization at all.

Runner 1 Runner 2 Runner 3
image image image

Checklist

…press.io)

The server always exceeds the free Cypress.io time so there is no benefit using it
unless we go for the enterprise plan.
So this simply uses `cypress-split` to split the specs and run them in parallel CI workers (only e2e tests).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/run-cypress-always-parallel branch from e04e4fa to 37d53d6 Compare October 21, 2023 16:42
@susnux susnux requested review from artonge, skjnldsv, max-nextcloud and nickvergessen and removed request for artonge October 21, 2023 16:57
@susnux susnux added 3. to review Waiting for reviews tests Related to tests CI labels Oct 21, 2023
@susnux susnux marked this pull request as ready for review October 21, 2023 16:58
@susnux susnux merged commit 91e02fe into master Oct 22, 2023
45 of 46 checks passed
@susnux susnux deleted the fix/run-cypress-always-parallel branch October 22, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews CI tests Related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants