Skip to content

[code-infra] Support parallel tests #170

@oliviertassinari

Description

@oliviertassinari

Summary

Our mocha tests run serially which is inefficient and slow. For example in https://github.com/mui/mui-x, https://app.circleci.com/pipelines/github/mui/mui-x/60861/workflows/e2ea2b79-d335-4e79-874b-656570f42f38/jobs/347360/steps tests are way too slow >14 minutes, and only 1/2 of the CPUs available.

We should run these tests in parallel. Mocha doesn't support it mochajs/mocha#4958.

Examples

Metadata

Metadata

Assignees

Labels

scope: code-infraInvolves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).test

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions