]> source.dussan.org Git - nextcloud-server.git/commitdiff
acceptence tests shall specify which branch to pick when cloning apps 21492/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 19 Jun 2020 18:59:34 +0000 (20:59 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 19 Jun 2020 19:08:39 +0000 (21:08 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
tests/acceptance/run-local.sh

index cd63f2870965fcf6bc78b86d1e509f6f1e94756e..4da31e35e6c8d1074475f3a1a76219022a7e146c 100755 (executable)
@@ -64,6 +64,7 @@ if [ "$1" = "--acceptance-tests-dir" ]; then
 fi
 
 ACCEPTANCE_TESTS_CONFIG_DIR="../../$ACCEPTANCE_TESTS_DIR/config"
+DEV_BRANCH="master"
 
 # "--timeout-multiplier N" option can be provided to set the timeout multiplier
 # to be used in ActorContext.
@@ -195,7 +196,7 @@ ln --symbolic $(pwd) /var/www/html
 
 # Add Notifications app to the "apps" directory (unless it is already there).
 if [ ! -e "apps/notifications" ]; then
-       (cd apps && git clone --depth 1 https://github.com/nextcloud/notifications)
+       (cd apps && git clone --depth 1 --branch ${DEV_BRANCH} https://github.com/nextcloud/notifications)
 fi
 
 INSTALL_AND_CONFIGURE_SERVER_PARAMETERS=""