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

Speed up test runs #3935

Merged
merged 3 commits into from
Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: yarn validate

- name: yarn test:coverage
run: yarn test:coverage
run: yarn test:coverage --maxWorkers=2

- name: CodeCov
uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
"build": "cross-env TARGET_ENV=default webpack --config webpack_config/production.js",
"build:staging": "cross-env TARGET_ENV=staging webpack --config webpack_config/production.js",
"prebuild": "check-node-version --package",
"test": "jest --config=jest_config/jest.config.json --maxWorkers=2",
"test": "jest --config=jest_config/jest.config.json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move jest.config.json to the root (like in signer)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of scope

"test:coverage": "yarn test --coverage",
"test:single": "cross-env DEBUG_PRINT_LIMIT=50000 yarn test --coverage=false --watch",
"test:e2e": "testcafe 'chrome:headless'",
Expand Down