From c5c1ad2a6e39dbfebfbb23ae4a2d45830a769156 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 3 May 2022 18:43:07 +0200 Subject: [PATCH] build first --- apps/remix-ide/ci/flaky.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide/ci/flaky.sh b/apps/remix-ide/ci/flaky.sh index f0f2ccdfa2..111575a310 100755 --- a/apps/remix-ide/ci/flaky.sh +++ b/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