Skip to content

Commit

Permalink
Speed up test runs (#3935)
Browse files Browse the repository at this point in the history
* Remove max workers flag

* Try maxWorkers=2 for CI

* Add newline
  • Loading branch information
FrederikBolding authored Apr 16, 2021
1 parent 503446c commit e03c0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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",
"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

0 comments on commit e03c0cc

Please sign in to comment.