build first

pull/2356/head
filip mertens 3 years ago
parent 8d1026f82d
commit c5c1ad2a6e
  1. 5
      apps/remix-ide/ci/flaky.sh

@ -2,6 +2,7 @@
set -e
npm run build:e2e
TESTFILES=$(grep -IRiL "\'@disabled\': \?true" "dist/apps/remix-ide-e2e/src/tests" | grep "\.flaky" | sort )
# count test files
@ -10,7 +11,7 @@ fileCount=$(grep -IRiL "\'@disabled\': \?true" "dist/apps/remix-ide-e2e/src/test
if [ $fileCount -eq 0 ]
then
echo "No flaky tests found"
exit 1
exit 0
fi
BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}}
@ -24,8 +25,6 @@ npm run remixd &
sleep 5
npm run build:e2e
for TESTFILE in $TESTFILES; do
npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js $TESTFILE --env=$1 || TEST_EXITCODE=1
done

Loading…
Cancel
Save