Commit Graph

311 Commits

Author SHA1 Message Date
Roeland Jago Douma
734b29b277
Update postgres version tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-07 09:27:10 +01:00
Roeland Jago Douma
e334fa2594
No need to run mysql5 tests anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-06 21:26:39 +01:00
Julius Härtl
c7a320d880 jsunit: Run jsunit with chromium/puppeteer on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-29 08:42:27 +01:00
Roeland Jago Douma
b611bc3115
Add php8 CI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-07 15:43:54 +01:00
Daniel Calviño Sánchez
2cc22a06b4 Add integration tests for user avatars
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-07 04:47:56 +01:00
Joas Schilling
0de48617ec
Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 09:46:53 +01:00
Joas Schilling
f79f1895d3
To revert once php8.0 packages are there
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:51:42 +02:00
Joas Schilling
9ac888d895
Update drone testing matrix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-18 09:32:23 +02:00
Morris Jobke
04a3580d19
Remove phan config - was replaced by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-16 14:46:29 +02:00
Morris Jobke
c25c984df5
Disable fragile comments tests
Those tests are actual problems in our code. See https://github.com/nextcloud/server/pull/20462#issuecomment-613380650 for a summary by @danxuliu

Basically they are introduced by #18929 but are only revealed by #18764.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-21 13:31:19 +02:00
Daniel Kesselberg
9d04ed66e3
Hello codecov 🚀
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-30 21:53:11 +02:00
Daniel Calviño Sánchez
f5ef3ee352 Do not clone the whole Talk repository for integration tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 17:02:03 +02:00
Daniel Calviño Sánchez
b192c04dc2 Add integration tests for video verification
Enabling the "send password by Talk" property of shares require that
Talk is installed and enabled, so the Drone step that runs them has to
first clone the Talk repository.

When the integration tests are run on a local development instance,
however, it is not guaranteed that Talk is installed. Due to this the
"@Talk" tag was added, which ensures that any feature or scenario marked
with it will first check if Talk is installed and, if not, skip the
scenario (instead of failing).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 02:50:30 +02:00
Arthur Schiwon
84619a5b9c
use serverControls directly with LDAP calls, fixes 19127
- adapters for PHP API version to Support PHP < 7.3
- switch to pass only one base per search
- cookie logic is moved from Access to API adapters

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-14 12:58:28 +02:00
Gary Kim
907a27897a
Move Compile Handlebars CI to GitHub Actions
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-02-23 12:13:48 +08:00
Roeland Jago Douma
64665c98e1
Lint on github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-10 09:32:45 +01:00
Roeland Jago Douma
e639e11de3
Move npm build to github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-03 09:42:23 +01:00
Roeland Jago Douma
ba401b0c97
Bump integration to php7.3 with redis
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-28 12:34:24 +01:00
Roeland Jago Douma
734d496d63
Bump memcached image
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:28 +01:00
Roeland Jago Douma
a987f809e6
REVERT LATER: disable phan for now
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 15:27:28 +01:00
Roeland Jago Douma
4bed12e4d6
Update drone
* Run 7.4 tests (nodb + sqlite)
* Update older images to newer phpunit

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27 13:34:41 +01:00
Roeland Jago Douma
8166448103
Merge pull request #18045 from nextcloud/ci/other/php73
Move more CI tests to php7.3
2019-11-21 15:53:50 +01:00
Roeland Jago Douma
8fb897fca0
Move more CI tests to php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-21 07:53:24 +01:00
Roeland Jago Douma
f559e8f25e
Move integration tests to php7.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-20 21:49:28 +01:00
Roeland Jago Douma
6f1bac3216
php7.2 minimum for 18
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-13 09:29:57 +01:00
Daniel Calviño Sánchez
81d0b70791 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>
2019-10-22 16:48:55 +02:00
Roeland Jago Douma
f663154adf
Merge pull request #17480 from nextcloud/enhancement/drone/no-submodule-when-not-needed
Remove unnecessary submodules steps
2019-10-09 08:59:20 +02:00
John Molakvoæ (skjnldsv)
8b6731b1f0
Remove unwanted submodules
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-09 07:44:50 +02:00
Roeland Jago Douma
4cc5b28063
Run composer install in parallel
The newer docker image runs the composer isntall in parallel. Saving
precious seconds on CI.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-08 21:17:53 +02:00
Roeland Jago Douma
d9b87123a2
Kill ui-regression ci job
Since we do not use it at the moment anyway it seems like a waste of
resources to actually run it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-08 08:49:55 +02:00
Christoph Wurst
81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-05 19:06:00 +02:00
John Molakvoæ (skjnldsv)
99404bdfb3
Move sharing integration tests to their own directory
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 19:25:10 +02:00
John Molakvoæ (skjnldsv)
972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 07:04:29 +02:00
Christoph Wurst
6b54b974f8
Use handlebars from node_modules (on CI)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-09-30 16:20:44 +02:00
Roeland Jago Douma
01b2b1ec51
No need to test against EOL dbs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-10 10:01:50 +02:00
Roeland Jago Douma
b463a2e4a8
Download composer packages in parallel in integration tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-04 21:10:48 +02:00
Roeland Jago Douma
102b1e170c
Merge pull request #16990 from nextcloud/ci/do_not_run_every_db_combo_on_prs
Do not run every possible DB combo on PRs
2019-09-04 08:08:02 +02:00
Roeland Jago Douma
f4ab4431ab
Do not run every possible DB combo on PRs
Only run them once merged.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-03 20:15:52 +02:00
Roeland Jago Douma
16477c181e
Only run code coverage CI on merge
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-03 18:07:28 +02:00
Joas Schilling
23a0cbe6ef
Only run integration tests when PHP was modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-27 11:31:15 +02:00
Morris Jobke
8dbb84308c
Revert "Run phan tests only on high memory machines" 2019-05-09 11:36:53 +02:00
Morris Jobke
307220654e
Run phan tests only on high memory machines
This should fix the out of memory issues we are seeing with this job

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-08 16:27:06 +02:00
Roeland Jago Douma
a7a35d32fd
Merge pull request #15311 from nextcloud/ci/mysql/8
Add mysql 8.0 CI run
2019-05-03 15:44:24 +02:00
Roeland Jago Douma
273eb646c4
Merge pull request #15327 from nextcloud/ci/postgres-11
CI Postgres 11
2019-05-01 20:10:46 +02:00
Roeland Jago Douma
11418a464c
CI Postgres 11
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 16:56:57 +02:00
Roeland Jago Douma
f99537387b
CI MariaDB 10.4
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 15:48:12 +02:00
Roeland Jago Douma
9198c86c1e
CI MariaDB 10.3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 15:13:08 +02:00
Daniel Kesselberg
0aa490f1f8
Use mysql_native_password as default authentication plugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-01 14:43:15 +02:00
Roeland Jago Douma
dbd33c79b0
Add mysql 8.0 CI run
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 14:43:11 +02:00
Roeland Jago Douma
5fe8cb6f86
CI MariaDB 10.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 14:41:25 +02:00
Roeland Jago Douma
2203eda9f5
Add mariadb 10.1 CI job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 13:12:12 +02:00
Roeland Jago Douma
752718e833
Add mariadb 10.0 ci tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-05-01 13:00:49 +02:00
Roeland Jago Douma
1ec0890d76
Pass proper TEST_SELECTION to drone objectstore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-15 08:43:06 +02:00
Morris Jobke
d6cb4a4fb4
Adjust drone config to drone 1.0.0
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-04 23:51:01 +01:00
Arthur Schiwon
5dd2207c95
fix nested group retrieval also for 2 other cases
and also consolidate logic in one method

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-05 11:07:40 +01:00
Joas Schilling
c84c13fb19
Merge pull request #13850 from nextcloud/feature/11274/enable-disable-multiple-apps
Enable & disable multiple apps at once
2019-02-21 14:39:44 +01:00
Roeland Jago Douma
f5449a021a
Move twofactor_backupcodes to main webpack bundle
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-20 15:24:04 +01:00
Roeland Jago Douma
0771091e0f
Remove drone jobs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-20 12:52:41 +01:00
Daniel Kesselberg
76b5f44f05
Strict Types, Return Types
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 21:03:06 +01:00
Julius Härtl
774b0b3662
Use npm ci for webpack builds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-19 11:17:37 +01:00
Roeland Jago Douma
518aa1e2a8
Add proper drone job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-13 09:03:12 +01:00
Arthur Schiwon
4bd3916445
integration test: pages search scenario with multiple bases
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-01-28 14:20:03 +01:00
Julius Härtl
1a86704338
Use nextcloudci/node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-25 12:36:42 +01:00
John Molakvoæ (skjnldsv)
9405ff3bbf
Fix vue settings checks and filenames
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-25 12:34:46 +01:00
Roeland Jago Douma
2f3e18a5e1
Move litmusv2 to php7.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-27 12:13:42 +01:00
Roeland Jago Douma
70936dcfb3
Fix drone images
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 16:04:12 +01:00
Arthur Schiwon
9322f5064a
run LDAP integrations tests with redis which is the recommended setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-12-03 14:34:03 +01:00
Daniel Calviño Sánchez
d6c053f6a3 Extract sharing related acceptance tests to their own feature files
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-23 15:13:15 +01:00
Daniel Calviño Sánchez
95dc2ad13c Extract acceptance tests for tags to their own feature file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-29 08:40:05 +01:00
Roeland Jago Douma
12f921f043
Merge pull request #11769 from nextcloud/3rdparty/remove/random_compat
Remove random_compat
2018-10-11 15:48:03 +02:00
Joas Schilling
f48d5dc27e
Remove random_compat
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-11 14:45:11 +02:00
Roeland Jago Douma
87eefbd192
Add 7.3 CI to drone
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-11 11:20:48 +02:00
Roeland Jago Douma
6680966f7c
Ignore the RiakCache
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 22:27:54 +02:00
Roeland Jago Douma
04c80c681d
Add syntax ci job for php7.2
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 22:15:59 +02:00
Roeland Jago Douma
4f13430a95
Add drone step
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-28 21:15:46 +02:00
Arthur Schiwon
108a8d6c4c
extend integration tests with users with numerical IDs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-09-28 11:19:48 +02:00
Roeland Jago Douma
735d5e5cba
Add drone support
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-27 09:07:06 +02:00
Robin Appelman
254d7caab6
use a dummy database name for the default postgres database name
For some reason the docker image does not setup the permissions correctly,
by using a different name the nextcloud installer will create the database instead
with the correct permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-09-17 18:19:29 +02:00
Arthur Schiwon
8808da816d
simplify tests and move some out to a new feature as we need a pristine
database for them

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:12 +02:00
Arthur Schiwon
86d145f069
behat integration tests for LDAP, basic setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-08-09 23:45:04 +02:00
Julius Härtl
138a527cc4
Use correct domain for ci-assets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-29 22:52:34 +02:00
Morris Jobke
c96d64b083
Update object storage
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-07-29 22:52:34 +02:00
Julius Härtl
33f26c8da2
Frontend regression testing with puppeteer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-29 22:51:58 +02:00
Daniel Calviño Sánchez
1e16f7ecd9 Add integration tests for searching files by comments
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-25 18:53:45 +02:00
Arthur Schiwon
83339ae10c
use older image for disabled redis tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-30 00:29:46 +02:00
Johannes Ernst
32647a4855
Applied patch for CI to work per https://github.com/nextcloud/server/pull/9760#issuecomment-396888591
Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
2018-06-29 10:37:46 +02:00
Arthur Schiwon
6044733b2d
fix build step
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29 09:11:04 +02:00
John Molakvoæ (skjnldsv)
263d2c89fb
Config set and drone
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 17:12:27 +02:00
Julius Härtl
2791bedfa9
Add vue build for oauth2 app to drone
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-20 09:32:23 +02:00
Morris Jobke
4fc9bdea4e
Run vue builds in parallel
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-19 23:54:00 +02:00
John Molakvoæ (skjnldsv)
885b6be733
Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-12 11:13:24 +02:00
Julius Härtl
de66336f9c
Add basic acceptance tests for apps management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-09 11:37:41 +02:00
John Molakvoæ (skjnldsv)
fd147cc3fd
Bump updatenotification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 09:28:06 +02:00
John Molakvoæ (skjnldsv)
62e29abc5b
Add vue apps build tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-07 08:35:02 +02:00
Robin Appelman
ac26175a17
add azure unit tests with azurite
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-04 16:18:03 +02:00
John Molakvoæ (skjnldsv)
aec85bf04f
Fix drone mysqlmb4 tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-30 08:33:27 +02:00
John Molakvoæ (skjnldsv)
b2389d0f01
Add feature to drone
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-05-16 09:50:24 +02:00
Roeland Jago Douma
4202b68ee2
Bump integration test image
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-14 14:20:55 +02:00
Morris Jobke
2094fcf5f0
Merge pull request #9145 from nextcloud/use-authorized-github-checks
Add auth token to github requests
2018-04-11 16:27:13 +02:00
Morris Jobke
2c15f4003e
Add auth token to github requests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-04-11 15:15:49 +02:00