Commit Graph

122 Commits (master)

Author SHA1 Message Date
Joas Schilling 500fa5431d
Fix unit tests on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 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 5096d4f5cb
Align version number of PHPUnit and give a helping install hint
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Joas Schilling 5d068ff534
Fix autotest.sh execution
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Carl Schwan 5b0f7f7501
Use phpunit from composer if available
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 year ago
Vitor Mattos 32b1d4fc8e
Create database to autotest
Followed:
https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_db

Signed-off-by: Vitor Mattos <vitor@php.rio>
2 years ago
Christoph Wurst b933e997c3
Use custom PHP runtime for PHPUnit execution in autotest
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago
Daniel Rudolf b3206de736
autotest.sh: Add PHPUNIT_EXE environment variable
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
3 years ago
Vincent Petry 526d36c290
Add connection check in autotest.sh for pgsql docker
When using pgsql docker for testing locally with autotest, make sure to
properly wait for the port to be available.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years ago
Daniel Kesselberg fc8566b253
Move check for missing since tag to autotest-checkers.sh
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Joas Schilling 027808c019
Remove the prefix setting attempt from our CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Roeland Jago Douma 60c7ef7f5e
No need to wait 10 minutes for the DB to get up.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma 752718e833
Add mariadb 10.0 ci tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Joas Schilling c32c91d1da
Fix whitespaces
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling e18cc22ed9
Fix database configuration
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Christoph Wurst 0beb42ebe8
Remove comment about hhvm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Robin Appelman ac26175a17
add azure unit tests with azurite
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago
Joas Schilling 13e04bc7d4
Use phpunit's directory feature
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Robin Appelman df6e23c98c
add ci for swift primary storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
6 years ago
Joas Schilling c3424df1f0
Require PHPUnit 6.5 or higher
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Robin Appelman 95d0b3d490
run postgresql 10 tests in drone
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago
Morris Jobke 37c4534adb
Remove Jenkins varibales from autotest.sh
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke 9a34c5051f Fix drone
Fix service container host name
check current folder
fix redis for integration test
Fix more hostnames

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke f73ca1b77f Add redis cluster tests to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke ca62984b8c Add 10 seconds sleep time after postgres startup
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke e696b92297 Wait for Postgres to be available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke ecb369b5e8
Add redis support to our CI jobs
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling 547f6ee009
Only loop over Test cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Morris Jobke d99ce3971b
Namespace and array syntax fixes
* minor fixes in preparation of a bigger DB and config PR

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Robin Appelman ac2542f0f0
add ci support for s3 object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
7 years ago
Joas Schilling 11fa8fe7ee
Allow to run autotest with phpunit options
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Morris Jobke 83770651bc
adjust autotest.sh to also wait 600 seconds for mysqlmb4
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Morris Jobke b1235a67de
test alternative drone syntax for command options
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Morris Jobke d0a3d17912
add 4 byte mysql test run
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Thomas Müller d294ef23dd
fix docker 8 years ago
Thomas Müller 9c3f066dab
Adding docker based unit test execution for mysql utf8mb4 8 years ago
Lukas Reschke a1f5364d7f
Generate coverage for quick DB tests
This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Morris Jobke 11cc8903bb
add actual check if mysql is up already 8 years ago
Joas Schilling db710e0b03
Make tests work with 4.8 at least 8 years ago
Morris Jobke 3acdc1339d Merge pull request #206 from nextcloud/ci-mysql
Add mysql job to CI
8 years ago
Lukas Reschke 7a9d60d87e
Merge remote-tracking branch 'upstream/master' into master-upstream-sync 8 years ago
Morris Jobke 41436fecc2 Add mysql job to CI 8 years ago
Morris Jobke 6583a2fef0
Add postgres to CI 8 years ago
Thomas Müller 5d1ef68cf0
Give mysql docker more time to start up 8 years ago
Bjoern Schiessle e7cb21b7e9
allow to execute multiple tests in a directory at once 8 years ago
Jürgen Weigert 0a6b845f37 Update autotest.sh
usage in sync with reality.
8 years ago
Thomas Müller 59c4ea2c8d
Use docker for mysql as well - optionally 8 years ago
Thomas Müller e2d8a4544d
Wait a while even after successful conect ... 8 years ago
Thomas Müller cf3cb4d75e docker containers should be stopped before being removed - refs https://github.com/docker/docker/issues/18758 8 years ago
Joas Schilling 5d1cabe0f6 Add verbose flag to occ commands of autotest* 8 years ago