Skip to content
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

Reduce Jest maxWorkers from 40% to 30% #4584

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@
docker_arguments:
CIRRUS_AWS_ACCOUNT: ${CIRRUS_AWS_ACCOUNT}
NODE_VERSION: 20
cpu: 15
memory: 32G
cpu: 10
memory: 40G
env:
CIRRUS_CLONE_DEPTH: 1
SONARSOURCE_QA: true
Expand Down Expand Up @@ -304,7 +304,7 @@
diff_artifacts:
path: '**/target/actual/**/*'

promote_task:

Check warning on line 307 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L307

task "promote" depends on task "ws_scan", but their only_if conditions are different
depends_on:
- ws_scan
- build_win
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ruling-sync": "rsync -avh packages/ruling/tests/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete",
"update-ruling-data": "mvn -f sonar-plugin/sonar-javascript-plugin/pom.xml compile && ts-node packages/ruling/tests/tools/parseRulesData.ts",
"bridge:compile": "tsc -b packages profiling",
"bridge:test": "jest --maxWorkers=40% --coverage --testPathIgnorePatterns=/packages/ruling/tests/",
"bridge:test": "jest --maxWorkers=100% --coverage --testPathIgnorePatterns=/packages/ruling/tests/",
"bridge:build": "npm run bridge:build:fast && npm run bridge:test",
"bridge:build:fast": "npm ci && npm run _:bridge:clear && npm run bridge:compile",
"bbf": "npm run bridge:build:fast",
Expand Down