Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-28 21:53:36 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-29 03:50:30 +0300
commitb192c04dc22e54e4fab7a70331ec605068b4a4e4 (patch)
tree4dc6c473b1c2ffc52d3576e40735e8489a45ef77 /.drone.yml
parenta2f80d4f4c7e451f698ee3312500f48067aaa5e3 (diff)
Add integration tests for video verification
Enabling the "send password by Talk" property of shares require that Talk is installed and enabled, so the Drone step that runs them has to first clone the Talk repository. When the integration tests are run on a local development instance, however, it is not guaranteed that Talk is installed. Due to this the "@Talk" tag was added, which ensures that any feature or scenario marked with it will first check if Talk is installed and, if not, skip the scenario (instead of failing). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index e84918ef6a0..fbc9570b6e3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1361,6 +1361,37 @@ trigger:
---
kind: pipeline
+name: integration-sharing-v1-video-verification
+
+steps:
+- name: submodules
+ image: docker:git
+ commands:
+ - git submodule update --init
+- name: install-talk
+ image: docker:git
+ commands:
+ # JavaScript files are not used in integration tests so it is not needed to
+ # build them.
+ - git clone https://github.com/nextcloud/spreed apps/spreed
+- name: integration-sharing-v1-video-verification
+ image: nextcloudci/integration-php7.3:integration-php7.3-2
+ commands:
+ - bash tests/drone-run-integration-tests.sh || exit 0
+ - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
+ - cd build/integration
+ - ./run.sh sharing_features/sharing-v1-video-verification.feature
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
+
+---
+kind: pipeline
name: integration-setup-features
steps: