Use jest workers on travis-ci and circleCI (#7510)
This commit is contained in:
parent
1c9b0ff49e
commit
24a07fc790
@ -4,7 +4,7 @@ set -e
|
||||
jestArgs="--coverage"
|
||||
|
||||
if [ -n "$CI" ]; then
|
||||
jestArgs="${jestArgs} --runInBand --ci"
|
||||
jestArgs="${jestArgs} --maxWorkers=4 --ci"
|
||||
fi
|
||||
|
||||
node_modules/.bin/jest $jestArgs
|
||||
|
||||
@ -14,7 +14,7 @@ if [ "$TEST_DEBUG" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$CI" ]; then
|
||||
jestArgs="${jestArgs} --runInBand --ci"
|
||||
jestArgs="${jestArgs} --maxWorkers=4 --ci"
|
||||
fi
|
||||
|
||||
$node node_modules/.bin/jest $jestArgs "$TEST_GREP"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user