diff --git a/.circleci/config.yml b/.circleci/config.yml index fbe76d594..39592f121 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -735,6 +735,7 @@ jobs: - image: buildpack-deps:latest environment: TERM: xterm + parallelism: 3 steps: - checkout - attach_workspace: diff --git a/test/externalTests/solc-js/solc-js.sh b/test/externalTests/solc-js/solc-js.sh index 907061f5c..d68535e2e 100755 --- a/test/externalTests/solc-js/solc-js.sh +++ b/test/externalTests/solc-js/solc-js.sh @@ -27,7 +27,16 @@ VERSION="$2" function install_fn { echo "Nothing to install."; } function compile_fn { echo "Nothing to compile."; } -function test_fn { npm test; } +function test_fn +{ + if [ "$CIRCLECI" ] + then + # This does not run the linter. + npx tape $(circleci tests glob "./test/*.js" | grep -v "test/index.js" | circleci tests split --split-by=timings) + else + npm test + fi +} function solcjs_test {