element-web-Github/scripts/ci/riot-unit-tests.sh

15 lines
244 B
Bash
Raw Normal View History

2019-01-09 22:16:20 +08:00
#!/bin/bash
#
2019-03-14 07:42:05 +08:00
# script which is run by the CI build (after `yarn test`).
2019-01-09 22:16:20 +08:00
#
# clones riot-web develop and runs the tests against our version of react-sdk.
set -ev
RIOT_WEB_DIR=riot-web
2019-03-14 07:42:05 +08:00
scripts/ci/build.sh
2019-01-09 22:16:20 +08:00
pushd "$RIOT_WEB_DIR"
yarn test
2019-01-09 22:16:20 +08:00
popd