diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-08-16 16:02:31 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-09-26 11:54:27 +0300 |
commit | 83b5469f55b9d804c1f7c9734ffea2033e91a361 (patch) | |
tree | 330ec63e8303e92e002e8933a6e66a6347e92e9f /.drone.yml | |
parent | 255ac5dc86e9ae2b3b5ec3b610309aab27a40110 (diff) |
Add acceptance tests for Talk sidebar in public share page to Drone
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 2b2237eaa..0b04bbb39 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1169,6 +1169,48 @@ trigger: --- kind: pipeline +name: acc-sqlite-public-share + +steps: + - name: acceptance-public-share + image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2 + environment: + APP_NAME: spreed + CORE_BRANCH: master + SELENIUM_HOST: selenium + TESTS_ACCEPTANCE: public-share + commands: + - bash tests/drone-run-acceptance-tests.sh || exit 0 + # Pre-setup steps + - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server ../server + - cp -R . ../server/apps/$APP_NAME + - cd ../server + - git submodule update --init + - ln --symbolic `pwd` /var/www/html + + # Run acceptance tests + - tests/acceptance/run-local.sh --acceptance-tests-dir apps/spreed/tests/acceptance --timeout-multiplier 10 --nextcloud-server-domain acceptance-$TESTS_ACCEPTANCE --selenium-server $SELENIUM_HOST:4444 allow-git-repository-modifications features/$TESTS_ACCEPTANCE.feature + +services: + - name: cache + image: redis + - name: selenium + image: selenium/standalone-firefox:2.53.1-beryllium + environment: + # Reduce default log level for Selenium server (INFO) as it is too + # verbose. + JAVA_OPTS: -Dselenium.LOGGER.level=WARNING + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline name: acc-sqlite-public-share-auth steps: |