diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-28 20:53:36 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-05-29 02:50:30 +0200 |
commit | b192c04dc22e54e4fab7a70331ec605068b4a4e4 (patch) | |
tree | 4dc6c473b1c2ffc52d3576e40735e8489a45ef77 /.drone.yml | |
parent | a2f80d4f4c7e451f698ee3312500f48067aaa5e3 (diff) | |
download | nextcloud-server-b192c04dc22e54e4fab7a70331ec605068b4a4e4.tar.gz nextcloud-server-b192c04dc22e54e4fab7a70331ec605068b4a4e4.zip |
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.yml | 31 |
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: |