ci(aio): test aio-builds-setup as part of the aio
job
This commit is contained in:
parent
d275667da0
commit
7e67f37fc4
12
aio/aio-builds-setup/test.sh
Executable file
12
aio/aio-builds-setup/test.sh
Executable file
@ -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"
|
||||
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"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user