pull/1754/head
filip mertens 3 years ago
parent 22ec236382
commit ef506477da
  1. 4
      apps/remix-ide/ci/lint.sh

@ -8,13 +8,15 @@ TEST_EXITCODE=0
npm run build:e2e npm run build:e2e
KEYS=$(jq -r '.projects | keys' workspace.json | tr -d '[],"') KEYS=$(jq -r '.projects | keys' workspace.json | tr -d '[],"')
# add .js to every key
KEYS=$(echo $KEYS | sed 's/\(.*\)/\1.js/')
TESTFILES=$(circleci tests glob "dist/apps/remix-ide-e2e/src/tests/**/*.test.js") TESTFILES=$(circleci tests glob "dist/apps/remix-ide-e2e/src/tests/**/*.test.js")
echo $TESTFILES echo $TESTFILES
TESTFILES=$(circleci tests glob "dist/apps/remix-ide-e2e/src/tests/**/*.test.js" | circleci tests split --split-by=timings) TESTFILES=$(circleci tests glob "dist/apps/remix-ide-e2e/src/tests/**/*.test.js" | circleci tests split --split-by=timings)
echo $TESTFILES echo $TESTFILES
TESTFILES=$(echo $KEYS | circleci tests split) TESTFILES=$(echo $KEYS | circleci tests split)
echo $TESTFILES echo $TESTFILES
KETS = "test1.js test2.js" KEYS="test1.js test2.js"
TESTFILES=$(echo $KEYS | circleci tests split) TESTFILES=$(echo $KEYS | circleci tests split)
echo $TESTFILES echo $TESTFILES

Loading…
Cancel
Save