Граф коммитов

77 Коммитов

Автор SHA1 Сообщение Дата
Julius Härtl 5c84654740
Merge pull request #2488 from nextcloud/tests/cypress-npm-build
Build app before running cypress tests
2022-06-08 23:31:43 +02:00
Julius Härtl 7291aca9a6
Add one more container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-08 21:12:35 +02:00
Julius Härtl 8a7f9fe804
No need to build viewer anymore
The header does no longer autohide so we can skip the manual testing build

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-08 20:54:52 +02:00
Julius Härtl 71c5d1cb78
Reenable multiple cypress ocntainers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-08 20:53:59 +02:00
Julius Härtl b403a91e3a
Build app before running cypress tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-07 23:59:28 +02:00
Max 53de9328d9
ci: also compile package
Signed-off-by: Max <max@nextcloud.com>
2022-06-07 19:42:03 +02:00
Nextcloud bot c31aa5ec07 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-14 09:05:26 +00:00
Max 61be37ce5b
ci: bump dependabot target branches
Part of the Nextcloud 24 branch off.
https://github.com/nextcloud/office/issues/5

Signed-off-by: Max <max@nextcloud.com>
2022-05-05 10:54:31 +02:00
Vinicius Reis b984a86213
️ Revert npm@7 version
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-03 18:35:20 -03:00
Vinicius Reis a45c495428
⬆️ upgrade cypress action
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-03 18:31:25 -03:00
Vinicius Reis a4a9299e0e
💚 fix missing package-lock.json file
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-03 18:22:53 -03:00
Vinicius Reis 0ba4e9d8ba
⬆️ update actions/setup-node
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-03 18:08:56 -03:00
Max 6e2ac763cf ci: only run php unit tests when php files changed
They take 10 minutes to setup nextcloud
and block available CI runners.

This is particularly wasteful with javascript dependency updates.
Dependabot will rebase the pending updates
upon every push to the underlying branch.

Signed-off-by: Max <max@nextcloud.com>
2022-05-02 13:21:39 +02:00
Nextcloud bot e074c370a4 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-26 15:21:46 +00:00
Jonas bf72b9914c
Fix matrix variable reference in Github static-analysis action
Signed-off-by: Jonas <jonas@freesources.org>
2022-04-19 10:53:04 +02:00
Max 302e999101
ci: add nextcloud.log as a artifact on cypress failure
Signed-off-by: Max <max@nextcloud.com>
2022-03-31 14:40:42 +02:00
Max 988d4f3f08
debug: ci failures with server errors in cypress
Signed-off-by: Max <max@nextcloud.com>
2022-03-31 14:40:24 +02:00
Max 9ebbe2e010
make npm_package_name available
no idea why but it seems to be undefined.
Reported upstread here: https://github.com/cypress-io/github-action/issues/524

Signed-off-by: Max <max@nextcloud.com>
2022-03-31 14:29:26 +02:00
Julius Härtl b8cf72b193 Run tests against all supported php versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-15 15:39:30 +01:00
Nextcloud bot 515abc0a85
Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-07 07:21:36 +01:00
Julius Härtl bdbdf874e3
Merge pull request #2222 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-03-05 11:25:47 +01:00
Nextcloud bot 5508208f8b Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:41:55 +00:00
Nextcloud bot 53052cf0ac Updating command-compile.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:14:25 +00:00
Max f2384f4f89
test: do not force_language for cypress
Currently only few tests are language dependent.
Run tests without a preset language on the server
and fix the language in the tests in question.

Signed-off-by: Max <max@nextcloud.com>
2022-03-02 08:19:28 +01:00
Jonas 809226b4e9
Migrate phpunit tests from drone to github actions (Fixes: #1679)
Only test with sqlite and oc for now. There's no added value to run our
basic phpunit test on mysql and postgresql environments.

Also drops the obsolete `occ app:check-code` compatibility tests.

Signed-off-by: Jonas <jonas@freesources.org>
2022-02-08 15:00:01 +01:00
Joas Schilling 50a449a6bf
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-08 12:39:08 +01:00
Nextcloud bot d916f27a36 Updating fixup.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-28 23:52:38 +00:00
Nextcloud bot 86eaf9765f Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-24 16:28:03 +00:00
Max 1ca649486a
ci: increase cypress default command timeout
Prevent timeouts due to slow ci runs by waiting longer for normal commands.

Some of our commands open the editor which has to load quite a bit of additional js.
This can be slow on CI.
Instead of failing after 4 seconds - wait 10 seconds when run in CI.

Signed-off-by: Max <max@nextcloud.com>
2022-01-24 10:45:48 +01:00
Joas Schilling 75ba39d0ba
Create block-merge-freeze.yml 2022-01-19 17:09:04 +01:00
Max 942cce7e83
ci: activate dependabot PRs against stable23
stable20 has reached end of live - drop it.

Signed-off-by: Max <max@nextcloud.com>
2022-01-12 12:23:20 +01:00
Julius Härtl 76032f045c
Trigger cypress on push/pull_request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-10 13:05:05 +01:00
Julius Härtl a6f849274a
Create lint-stylelint.yml 2021-12-30 14:49:56 +01:00
John Molakvoæ 56812a35e5
Merge pull request #2026 from nextcloud/cypress/records 2021-12-27 08:25:50 +01:00
Julius Härtl 7e45a13ded
Re-enable cypress records
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-21 21:11:13 +01:00
Azul e9ed2d21b1 ci: keep screenshots of failing tests
Disable videos as the result is hardly usable.

Signed-off-by: Azul <azul@riseup.net>
2021-12-21 13:39:47 +01:00
Azul b4e9260675
ci: run js tests
Signed-off-by: Azul <azul@riseup.net>
2021-11-11 10:06:06 +01:00
Julius Härtl 7437e6f085
Create command-compile.yml 2021-08-23 08:56:41 +02:00
Nextcloud bot ce2b90ebbf Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 08:44:35 +00:00
Azul 844644c85f
ci: run the fixup check from nextcloud organization
Signed-off-by: Azul <azul@riseup.net>
2021-08-02 09:54:00 +02:00
Azul 0d842d2a63
cleanup: leftover js files with old naming scheme
Also run `make clean` before building js files to compare in CI.

Signed-off-by: Azul <azul@riseup.net>
2021-08-02 09:25:18 +02:00
Nextcloud bot 397f361763 Updating node.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-24 07:49:02 +00:00
Julius Härtl c8d435289a
Update dependabot stable branches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-14 15:02:58 +02:00
Nextcloud bot ba4cdc9c7f Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-02 15:45:45 +00:00
Julius Härtl bab2cbcbcd
Fix autoapprove by using pull_request_target event
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-29 19:43:03 +02:00
skjnldsv f912083378 Updating command-rebase.yml workflow from template
Signed-off-by: GitHub <noreply@github.com>
2021-06-29 07:47:32 +00:00
Julius Härtl 0fdc8edbba
Merge pull request #1688 from nextcloud/feat/node-template 2021-06-28 08:50:13 +02:00
John Molakvoæ 51b1dd0491
Delete nodejs.yml 2021-06-27 20:00:39 +02:00
John Molakvoæ be257ee5e8
Create node.yml 2021-06-27 20:00:24 +02:00
John Molakvoæ 4057d6000b
Delete rebase.yml 2021-06-27 19:59:10 +02:00