-
Notifications
You must be signed in to change notification settings - Fork 0
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
ci: merge staging to master #67
Conversation
We can use jest's `shard` option to implement test load balancing. This required updating to jest v28, as sharding was introduced in this version. For now the shard count is chosen manually and is statically set, however, this may be optimised in the future. Test load balancing is now utilised for both `test` and `build` (platform) pipelines.
Changed the options for junit reporting to better organise the tests. Tests will now be displayed in Gitlab with the top-level describe, test name, and file path.
feat: test load balancing using jest's `--shard` option
Pipeline Attempt on 575525956 for f450a32 https://gitlab.com/MatrixAI/open-source/typescript-demo-lib/-/pipelines/575525956 |
👇 Click on the image for a new way to code review
Legend |
Are you not using a custom test sequencer? |
Pipeline Succeeded on 575525956 for f450a32 https://gitlab.com/MatrixAI/open-source/typescript-demo-lib/-/pipelines/575525956 |
No, it's not needed since we're using the default. |
Apologies, the review came in after this is already merged, it should have been addressed in #65, however we're rushing to get some features into PK. So all of those review comment should be addressed in another commit to staging and simultaneously your work on PK MatrixAI/Polykey#392 |
This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.