Browse Source

Run acceptance tests on PHP 7.3

There is no difference (as far as I know) between running the acceptance
tests on PHP 7.1 or on PHP 7.3; this is simply a preparatory step to be
ready when PHP 7.1 support is dropped in Nextcloud server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
tags/v18.0.0beta1
Daniel Calviño Sánchez 4 years ago
parent
commit
81d0b70791
2 changed files with 12 additions and 12 deletions
  1. 11
    11
      .drone.yml
  2. 1
    1
      tests/acceptance/run.sh

+ 11
- 11
.drone.yml View File

commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-access-levels - name: acceptance-access-levels
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-comments - name: acceptance-app-comments
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-files - name: acceptance-app-files
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-files-sharing - name: acceptance-app-files-sharing
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-files-sharing-link - name: acceptance-app-files-sharing-link
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-files-tags - name: acceptance-app-files-tags
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-app-theming - name: acceptance-app-theming
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-header - name: acceptance-header
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-login - name: acceptance-login
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-users - name: acceptance-users
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature


commands: commands:
- git submodule update --init - git submodule update --init
- name: acceptance-apps - name: acceptance-apps
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
commands: commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature



+ 1
- 1
tests/acceptance/run.sh View File

# Selenium server. # Selenium server.
# The container exits immediately if no command is given, so a Bash session # The container exits immediately if no command is given, so a Bash session
# is created to prevent that. # is created to prevent that.
docker run --detach --name=$NEXTCLOUD_LOCAL_CONTAINER --network=container:$SELENIUM_CONTAINER --interactive --tty nextcloudci/acceptance-php7.1:acceptance-php7.1-2 bash
docker run --detach --name=$NEXTCLOUD_LOCAL_CONTAINER --network=container:$SELENIUM_CONTAINER --interactive --tty nextcloudci/acceptance-php7.3:acceptance-php7.3-2 bash


# Use the $TMPDIR or, if not set, fall back to /tmp. # Use the $TMPDIR or, if not set, fall back to /tmp.
NEXTCLOUD_LOCAL_TAR="$($MKTEMP --tmpdir="${TMPDIR:-/tmp}" --suffix=.tar nextcloud-local-XXXXXXXXXX)" NEXTCLOUD_LOCAL_TAR="$($MKTEMP --tmpdir="${TMPDIR:-/tmp}" --suffix=.tar nextcloud-local-XXXXXXXXXX)"

Loading…
Cancel
Save