mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run solc-js tests in parallel on circleci.
This commit is contained in:
parent
98cc1d9994
commit
c1c6537108
@ -735,6 +735,7 @@ jobs:
|
|||||||
- image: buildpack-deps:latest
|
- image: buildpack-deps:latest
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm
|
TERM: xterm
|
||||||
|
parallelism: 3
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
|
@ -27,7 +27,16 @@ VERSION="$2"
|
|||||||
|
|
||||||
function install_fn { echo "Nothing to install."; }
|
function install_fn { echo "Nothing to install."; }
|
||||||
function compile_fn { echo "Nothing to compile."; }
|
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
|
function solcjs_test
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user