Make jest maxWorkers
more robust and adaptable
#4587
Labels
jira-import_24-04-2024
The issue have been imported in jira on 24-04-2024
nice-to-have
type: non-functional
internal changes to testing or refactoring
We have currently 2 values that must work in concert for the CI:
task.cpu
incirrus.yml
maxWorkers
parameter in jest command inpackage.json
PR: #4583
To make this more robust, we will introduce a test that checks that these 2 values respect the following formula:
We would like the value of maxWorkers to be more easily adaptable on dev machines, since the hardware is varied and different from our CI.
For this, we would need to have a different test command executed whether or not
IS_CI
is true.We would probably keep a % value for
maxWorkers
for the dev environment.The text was updated successfully, but these errors were encountered: