💚(ci) fix performance issue of test job
Currently the test job seems to hit the maximum CPU resource available. In order to prevent that we try to run tests on several workers.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
d05e38520b
commit
6aca0a3d85
@@ -93,13 +93,17 @@ jobs:
|
||||
test:
|
||||
docker:
|
||||
- image: cimg/node:16.18
|
||||
parallelism: 4
|
||||
resource_class: large
|
||||
working_directory: ~/cunningham
|
||||
steps:
|
||||
- *checkout_cunningham
|
||||
- *restore_node_modules
|
||||
- attach_workspace:
|
||||
at: ~/cunningham
|
||||
- run:
|
||||
name: Run test suites over all workspaces
|
||||
command: yarn test
|
||||
command: yarn test-ci
|
||||
|
||||
# ---- Internationalization ----
|
||||
crowdin-upload:
|
||||
@@ -222,4 +226,4 @@ workflows:
|
||||
requires:
|
||||
- build
|
||||
- lint
|
||||
- test
|
||||
- test
|
||||
|
||||
Reference in New Issue
Block a user