Commit Graph

23 Commits (master)

Author SHA1 Message Date
Ferdinand Thiessen f546a2fe14 fix(ci): Disable coverage on pull requests
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
Ferdinand Thiessen 4b6bd8b0c5 fix(tests): Adjust `files_external` tests to also work locally with WebDAV
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
Joas Schilling 3294bbe3bb
fix(autotest): Fix PHPUNIT version check in autotest files
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Joas Schilling 027808c019
Remove the prefix setting attempt from our CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Robin Appelman d96bba2830
allow local remote access in external storage ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years ago
Lukas Reschke 7efc6b2614
Set exit code to 1 if integration test is failing
Before it just checked the unit tests and ignored the integration test results. See https://drone.nextcloud.com/nextcloud/server/3374/35 for details.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 1c80307537
Add SMB tests and execute files_external tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Joas Schilling db710e0b03
Make tests work with 4.8 at least 8 years ago
Vincent Petry 3b7ba552ae
Fix ext storage test class name in test script 8 years ago
Robin McCorkell 4717605d22 Fix storage backend class namespaces and move to subdir
All classes that were previously \OC\Files\Storage\FooBar are now
\OCA\Files_External\Lib\Storage\FooBar
8 years ago
Stefan Weil ee5f5eebe5 misc: Fix some typos
Some of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Joas Schilling 5d1cabe0f6 Add verbose flag to occ commands of autotest* 8 years ago
Thomas Müller 3c65b898b2 We require minimum PHPUnit 4.4 8 years ago
Thomas Müller e3b47e80f7 script shall exit with error in case the start file has issues - fixes #20798 9 years ago
Robin McCorkell ad028c555d Don't attempt to run tests unless start file is successful 9 years ago
Olivier Paroz ff4227bbfc Use a universal shebang
Fixes #15037
9 years ago
Robin McCorkell f6b1d3506f Allow easy XDEBUG debugging with autotest
Debugging scripts needs the environment variable XDEBUG_CONFIG to be
set, which initiates a connection to a listening debugger. But if that
env is set and one of the PHP setup steps occurs (e.g. occ install), the
debugging session is 'completed' and the debugger no longer listens
during the actual tests. This saves the XDEBUG_CONFIG env so it only
applies during the PHPUnit execution, so only the real tests trigger the
debugging.
9 years ago
Morris Jobke 0ab16cb823 Replace `replace` with `sed` statement 9 years ago
Vincent Petry 6d8884e8a1 Add check for "replace" command 9 years ago
Thomas Müller 7181840665 Use occ to install ownCloud in autotest.sh 9 years ago
Morris Jobke 62d54e4c2a fix files external test run and add common-tests option 9 years ago
Robin McCorkell 5acbeb9666 Better cleanup in autotest.sh
Configs correctly cleaned, even if phpunit fails or autotest interrupted
9 years ago
Morris Jobke 7c1b9aedd5 Setup a docker container that holds a webdav instance to test files_external
document docker parameter and use random host port
fix typo
copy autotest.sh to autotest-external.sh
adds ability to add start* and stop* scripts in env in external tests
run files_external WebDAV tests against ownCloud instance
introduce executor number to be able to shut down the correct docker container
fetch docker images in advance - this also fetches latest versions of the docker images
add second argument to autotest-external.sh which can specify a single test to run
print out the explicit test run
change naming schema of files_external setup scripts
10 years ago