diff options
author | Joas Schilling <coding@schilljs.com> | 2020-12-16 12:35:38 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-12-17 17:15:38 +0300 |
commit | 7e92571f36125a373d7a6dac704b1b753ed72c2f (patch) | |
tree | 1b6a228dbb02fdf3500c7b349d66438d5333db65 /.drone.yml | |
parent | df342d68b2ee2114c9ced91f4cd82aae7767f68d (diff) |
Move unit tests to github actions to reduce drone load
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 240 |
1 files changed, 0 insertions, 240 deletions
diff --git a/.drone.yml b/.drone.yml index c4b91b773..2299a4e1b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,246 +25,6 @@ trigger: --- kind: pipeline -name: unit-sqlite-php7.3 - -steps: - - name: sqlite-php7.3 - image: nextcloudci/php7.3:php7.3-5 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: sqlite - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline -name: unit-sqlite-php7.4 - -steps: - - name: sqlite-php7.4 - image: nextcloudci/php7.4:2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: sqlite - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline -name: unit-mysql-php7.3 - -steps: - - name: mysql-php7.3 - image: nextcloudci/php7.3:php7.3-5 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: mysql - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -services: - - name: cache - image: redis - - name: mysql - image: mysql:5.7.22 - environment: - MYSQL_ROOT_PASSWORD: owncloud - MYSQL_USER: oc_autotest - MYSQL_PASSWORD: owncloud - MYSQL_DATABASE: oc_autotest - command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ] - tmpfs: - - /var/lib/mysql - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline -name: unit-mysql-php7.4 - -steps: - - name: mysql-php7.4 - image: nextcloudci/php7.4:2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: mysql - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -services: - - name: cache - image: redis - - name: mysql - image: mysql:5.7.22 - environment: - MYSQL_ROOT_PASSWORD: owncloud - MYSQL_USER: oc_autotest - MYSQL_PASSWORD: owncloud - MYSQL_DATABASE: oc_autotest - command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ] - tmpfs: - - /var/lib/mysql - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline -name: unit-pgsql-php7.3 - -steps: - - name: pgsql-php7.3 - image: nextcloudci/php7.3:php7.3-5 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: pgsql - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -services: - - name: cache - image: redis - - name: pgsql - image: postgres:10 - environment: - POSTGRES_USER: oc_autotest - POSTGRES_DB: oc_autotest_dummy - POSTGRES_HOST_AUTH_METHOD: trust - POSTGRES_PASSWORD: - tmpfs: - - /var/lib/postgresql/data - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline -name: unit-pgsql-php7.4 - -steps: - - name: pgsql-php7.4 - image: nextcloudci/php7.4:2 - environment: - APP_NAME: spreed - CORE_BRANCH: master - DATABASEHOST: pgsql - commands: - - bash tests/drone-run-php-tests.sh || exit 0 - - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST - - cd ../server - - ./occ app:enable $APP_NAME - - cd apps/$APP_NAME - - # Run phpunit tests - - cd tests/php/ - - phpunit --configuration phpunit.xml - -services: - - name: cache - image: redis - - name: pgsql - image: postgres:10 - environment: - POSTGRES_USER: oc_autotest - POSTGRES_DB: oc_autotest_dummy - POSTGRES_HOST_AUTH_METHOD: trust - POSTGRES_PASSWORD: - tmpfs: - - /var/lib/postgresql/data - -trigger: - branch: - - master - - stable* - event: - - pull_request - - push - ---- -kind: pipeline name: int-sqlite-callapi steps: |