Skip to content

Run files_external tests in Drone #34735

Closed

Description

@PVince81

Currently files_external tests are not run on Drone with the exception of the SMB suite and maybe another one.

We should run the tests there to make sure we can catch errors especially during library updates.
For example, when upgrading phpseclib we need to make sure that the SFTP suite still works. (@phil-davis remembers)

Here is a PR that attempts to enable Webdav with OC and lists the failures: #30733

List of storages to cover:

Activity

  1. added this to the backlog milestone on Mar 11, 2019
  2. modified the milestones: backlog, development on May 31, 2019
  3. phil-davis commented on Dec 16, 2019

    @phil-davis
    Contributor

    Added this to the current sprint so we review it and finish whatever is possible here.

  4. kiranparajuli589 commented on Feb 20, 2020

    @kiranparajuli589
    Contributor

    @phil-davis is something yet to be done here??

  5. phil-davis commented on Feb 20, 2020

    @phil-davis
    Contributor

    yes, this was actually about running phpunit tests.
    core .drone.star has this in the phpunit section:

    		'external-other' : {
    			'phpVersions': [
    				'7.1',
    			],
    			'databases': [
    				'sqlite',
    			],
    			'externalTypes': [
    				'webdav',
    				'sftp',
    				'scality'
    			],
    			'coverage': True
    		},
    

    and there is another section for externalTypes of samba and windows.

    In theory there [might|should] be a way to setup a full "federated webDAV ownCloud server" and have it connected as the "backend storage" for the whole front-end ownCloud-under-test, and let the unit tests run with the storage backend like that.

    I need to research if that is even a possible way to setup a pair of ownCloud servers.

    Note to self: see .drone.star webdavService() sambaService() sftpService() for the storage backends that are already defined.

  6. kiranparajuli589 commented on Feb 27, 2020

    @kiranparajuli589
    Contributor

    yes, this was actually about running phpunit tests. core .drone.star has this is the phpunit section:

    		'external-other' : {
    			'phpVersions': [
    				'7.1',
    			],
    			'databases': [
    				'sqlite',
    			],
    			'externalTypes': [
    				'webdav',
    				'sftp',
    				'scality'
    			],
    			'coverage': True
    		},
    

    and there is another section for externalTypes of samba and windows.

    In theory there [might|should] be a way to setup a full "federated webDAV ownCloud server" and have it connected as the "backend storage" for the whole front-end ownCloud-under-test, and let the unit tests run with the storage backend like that.

    I need to research if that is even a possible way to setup a pair of ownCloud servers.

    Note to self: see .drone.star webdavService() sambaService() sftpService()` for the storage backends that are already defined.

    @phil-davis That's interesting, you can ping me while moving on with this, I've only worked with acceptance tests, but I also want to see phpunit tests :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions