ci(aio): test aio-builds-setup as part of the `aio` job
This commit is contained in:
parent
d275667da0
commit
7e67f37fc4
|
@ -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 -
|
|
@ -25,13 +25,21 @@ source ${thisDir}/_travis-fold.sh
|
||||||
travisFoldEnd "test.aio.xvfb-start"
|
travisFoldEnd "test.aio.xvfb-start"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Run unit tests
|
# Run unit tests
|
||||||
travisFoldStart "test.aio.unit"
|
travisFoldStart "test.aio.unit"
|
||||||
yarn test -- --single-run
|
yarn test -- --single-run
|
||||||
travisFoldEnd "test.aio.unit"
|
travisFoldEnd "test.aio.unit"
|
||||||
|
|
||||||
|
|
||||||
# Run e2e tests
|
# Run e2e tests
|
||||||
travisFoldStart "test.aio.e2e"
|
travisFoldStart "test.aio.e2e"
|
||||||
yarn run e2e
|
yarn run e2e
|
||||||
travisFoldEnd "test.aio.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"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue