mirror of https://github.com/vector-im/riot-web
Disable scripts in CI too
parent
1deece3fb5
commit
3614170906
|
@ -13,25 +13,29 @@ handle_error() {
|
||||||
|
|
||||||
trap 'handle_error' ERR
|
trap 'handle_error' ERR
|
||||||
|
|
||||||
|
echo "Tests are disabled, see https://github.com/vector-im/riot-web/issues/13226"
|
||||||
|
exit 0
|
||||||
|
|
||||||
echo "--- Building Riot"
|
#TODO: Uncomment all of this in https://github.com/vector-im/riot-web/issues/13226
|
||||||
scripts/ci/layered-riot-web.sh
|
|
||||||
cd ../riot-web
|
#echo "--- Building Riot"
|
||||||
riot_web_dir=`pwd`
|
#scripts/ci/layered-riot-web.sh
|
||||||
CI_PACKAGE=true yarn build
|
#cd ../riot-web
|
||||||
cd ../matrix-react-sdk
|
#riot_web_dir=`pwd`
|
||||||
# run end to end tests
|
#CI_PACKAGE=true yarn build
|
||||||
pushd test/end-to-end-tests
|
#cd ../matrix-react-sdk
|
||||||
ln -s $riot_web_dir riot/riot-web
|
## run end to end tests
|
||||||
# PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ./install.sh
|
#pushd test/end-to-end-tests
|
||||||
# CHROME_PATH=$(which google-chrome-stable) ./run.sh
|
#ln -s $riot_web_dir riot/riot-web
|
||||||
echo "--- Install synapse & other dependencies"
|
## PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ./install.sh
|
||||||
./install.sh
|
## CHROME_PATH=$(which google-chrome-stable) ./run.sh
|
||||||
# install static webserver to server symlinked local copy of riot
|
#echo "--- Install synapse & other dependencies"
|
||||||
./riot/install-webserver.sh
|
#./install.sh
|
||||||
rm -r logs || true
|
## install static webserver to server symlinked local copy of riot
|
||||||
mkdir logs
|
#./riot/install-webserver.sh
|
||||||
echo "+++ Running end-to-end tests"
|
#rm -r logs || true
|
||||||
TESTS_STARTED=1
|
#mkdir logs
|
||||||
./run.sh --no-sandbox --log-directory logs/
|
#echo "+++ Running end-to-end tests"
|
||||||
popd
|
#TESTS_STARTED=1
|
||||||
|
#./run.sh --no-sandbox --log-directory logs/
|
||||||
|
#popd
|
||||||
|
|
Loading…
Reference in New Issue