diff --git a/aio/aio-builds-setup/test.sh b/aio/aio-builds-setup/test.sh new file mode 100755 index 0000000000..ff0913d075 --- /dev/null +++ b/aio/aio-builds-setup/test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -eux -o pipefail + +# Constants +SCRIPTS_JS_DIR="`dirname $0`/dockerbuild/scripts-js" + +# Test `scripts-js/` +cd "$SCRIPTS_JS_DIR" +yarn install +yarn test +cd - diff --git a/scripts/ci/test-aio.sh b/scripts/ci/test-aio.sh index 2a16433143..9ab6d3ceee 100755 --- a/scripts/ci/test-aio.sh +++ b/scripts/ci/test-aio.sh @@ -25,13 +25,21 @@ source ${thisDir}/_travis-fold.sh travisFoldEnd "test.aio.xvfb-start" fi + # Run unit tests travisFoldStart "test.aio.unit" yarn test -- --single-run travisFoldEnd "test.aio.unit" + # Run e2e tests travisFoldStart "test.aio.e2e" yarn run e2e travisFoldEnd "test.aio.e2e" + + + # Run unit tests for aio/aio-builds-setup + travisFoldStart "test.aio.aio-builds-setup" + ./aio-builds-setup/test.sh + travisFoldEnd "test.aio.aio-builds-setup" )