Skip to content

Commit

Permalink
[Test] Readd deploy requirements; set maxWorkers=2
Browse files Browse the repository at this point in the history
  • Loading branch information
damassi committed May 23, 2020
1 parent 50554ad commit d656ffb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ workflows:
project_id: 11

# Pre-staging
- yarn/jest:
args: --runInBand
- yarn/run:
name: test:jest
script: "jest"
requires:
- yarn/workflow-queue

Expand Down Expand Up @@ -149,6 +150,8 @@ workflows:
<<: *only_master
requires:
# - test
- yarn/jest
- test:mocha
- acceptance
- build

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"cypress": "./node_modules/.bin/cypress open",
"dev": "concurrently --raw --kill-others 'yarn relay --watch' 'scripts.start.sh'",
"integrate": "./scripts/quicklink-to-project.sh",
"jest": "JEST_JUNIT_OUTPUT=reports/junit/js-test-results.xml jest --runInBand",
"jest": "JEST_JUNIT_OUTPUT=reports/junit/js-test-results.xml jest --maxWorkers=2",
"mocha": "scripts/mocha.sh",
"prepare": "patch-package",
"prettier-project": "yarn run prettier-write 'src/**/*.{ts,tsx,js,jsx}'",
Expand Down

0 comments on commit d656ffb

Please sign in to comment.