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
[tests] Run unit tests concurrently in chunks #9615
Conversation
Closing because unit tests are already really fast (roughly 3 min to build and 4 min to run) so this will actually be slower because it will cause actions to get queued due to all the concurrency. |
Let's try this out since it appears to fix our unit tests. |
This seems to fix our issue with unit tests being flaky so we can try it out. TODO: remove |
In a previous PR (#9615) the unit tests were moved to separate jobs in the `test.yml` workflow. So we can now change the `test-unit.yml` workflow to simply be `test-lint.yml` to avoid redundancy. I also checked to see if this would affect code coverage but it turns out codecov was [disabled a long time ago](https://app.codecov.io/gh/vercel/vercel).
We can separate each package
test-unit
into a separate job. This will help isolate problems and we can re-run CI for a specific package.