pull/5370/head
filip mertens 3 years ago
parent bdcece7f0f
commit 9610a9c6ac
  1. 10
      apps/remix-ide/ci/lint.sh

@ -6,17 +6,11 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}}
echo "$BUILD_ID"
TEST_EXITCODE=0
npm run build:e2e
KEYS=$(jq -r '.projects | keys' workspace.json | tr -d '[],"')
# add .js to every key
KEYS=$(echo $KEYS | sed 's/\(.*\)/\1.js/')
# keys to array
KEYS=($KEYS)
KEYS=$(jq -r '.projects | keys | map(. + ".js") ' workspace.json | tr -d '[],"')
# add .js to all elements in array KEYS
TESTFILES=$(echo $KEYS | circleci tests split)
echo $TESTFILES
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]
then

Loading…
Cancel
Save