Julius Härtl
2d0c9efb43
Merge pull request #4261 from nextcloud/chore/issue-template-2
2023-06-13 17:52:43 +02:00
Julius Härtl
a70d4225ee
chore: Simplify issue template
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-13 10:40:51 +02:00
Max
34546a6834
fix(ci): add a jest workflow
...
Make sure we actually run our js tests.
Signed-off-by: Max <max@nextcloud.com>
2023-06-08 15:19:09 +02:00
Julius Härtl
b5fe08b341
ci(cypress): Limit to github runners for now
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-07 21:50:27 +02:00
Julius Härtl
33870231d3
ci(block-merge-freeze): Fix picking master branch for server
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-06 11:36:30 +02:00
Julius Härtl
e4dbbccff1
Merge pull request #4235 from nextcloud/automated/update-workflows
2023-06-02 10:35:22 +02:00
John Molakvoæ
304cc477b9
fix: fix and upgrade cypress workflow
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-02 09:40:40 +02:00
John Molakvoæ
09836567bc
chore: update workflows from templates
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-01 18:24:25 +02:00
Joas Schilling
a9e1d4add6
feat(deps): Add Nextcloud 28 support on main
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 15:23:43 +02:00
Jonas
28d5285c6f
Revert "ci: Add rebase to compile command"
...
This reverts commit 92f5f540c6
.
Unfortunately the rebase breaks if there's nothing to rebase.
Signed-off-by: Jonas <jonas@freesources.org>
2023-05-11 08:44:27 +01:00
Julius Härtl
92f5f540c6
ci: Add rebase to compile command
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-10 08:29:42 +02:00
Julius Härtl
795313363c
Create npm-audit-fix.yml
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-02 23:11:46 +02:00
Joas Schilling
b4d9266fc5
chore(maintainers): Update CODEOWNERS file
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-20 11:59:03 +02:00
Joas Schilling
e59744bb77
chore: Add Nextcloud 27 support on main
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-05 16:58:00 +01:00
max-nextcloud
9d51518856
Update cypress to use php 8.1
...
Server now requires at least php 8.0
Signed-off-by: max-nextcloud <max@nextcloud.com>
2023-01-20 14:12:06 +01:00
Julius Härtl
c50eb715c2
chore(ci): Fix merge freeze check for text
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-18 17:39:30 +01:00
Max
e7cdcf03e9
rename: master branch to main
...
Signed-off-by: Max <max@nextcloud.com>
2023-01-17 15:17:14 +01:00
Julius Härtl
f602f96eda
ci: Move phpunit to github workflow templates
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 17:53:40 +01:00
Julius Härtl
d4d59fac11
ci: Move to github workflow templates
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 17:48:05 +01:00
Joas Schilling
367d367117
chore(CI): Update master php testing versions and workflow templates
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-16 15:16:17 +01:00
Julius Härtl
2570c0fc92
perf: Add authorative autoloader
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-13 22:28:50 +01:00
Julius Härtl
0e1070a8e4
tests(cypress): More runners now that we cache test preparation
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-01 11:53:55 +01:00
Julius Härtl
f3d6e2ee54
tests(cypress): Build app only once and cache server checkout
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-01 11:19:39 +01:00
Julius Härtl
41945ef351
tests(cypress): Set hashing mechanism to speed up tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-01 10:09:59 +01:00
John Molakvoæ
14d4dc5337
Use GH ref as cypress run title²
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-23 15:02:27 +01:00
John Molakvoæ
4ec2d3e4f4
Use GH ref as cypress run title
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-22 17:51:42 +01:00
Julius Härtl
e14beab776
Update pull_request_template.md
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-14 14:35:11 +01:00
Max
2cd3b0f8e9
update: use cypress action v4
...
This will hopefully fix a deprecation notice on github job runs
Signed-off-by: Max <max@nextcloud.com>
2022-11-09 07:00:01 +01:00
Julius Härtl
6c53e4c9de
Update Markdown.md
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-31 12:56:14 +01:00
Julius Härtl
79868622df
Add template for markdown issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-28 10:01:33 +02:00
Julius Härtl
8843736fdf
Let webpack output the json file for relativeci
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-27 17:23:58 +02:00
Nextcloud bot
f9db0c7bf6
Updating psalm.yml workflow from template
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 15:13:02 +00:00
Nextcloud bot
05ef3244f3
Updating lint-stylelint.yml workflow from template
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 11:32:50 +00:00
Julius Härtl
74955576f2
Cancel other jobs for the same ref
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-13 08:44:13 +02:00
Julius Härtl
680b0c9ccb
Drop dependabot in favor of renovate for node dependencies
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-11 20:23:49 +00:00
Julius Härtl
f006d8d105
Add relative ci job
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-10-11 12:44:58 +02:00
Joas Schilling
577b900278
Migrate to nextcloud/OCP package in master
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-26 20:22:18 +02:00
Vinicius Reis
ec6f0d7ce8
🔧 define versioning-strategy of dependabot
...
reflect updates in package.json
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-23 09:51:57 -03:00
Julius Härtl
7137bfc8b1
Run eslint with node 16
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-18 23:10:59 +02:00
Julius Härtl
187d5167fb
Run cypress build with node 16
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-18 23:10:59 +02:00
Joas Schilling
36e1cb6c00
Update dependabot-approve-merge.yml
...
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-08-03 14:25:44 +02:00
Max
9717567473
ci: fail lint on warnings
...
We do not have any warnings right now. Let us keep it that way.
Signed-off-by: Max <max@nextcloud.com>
2022-07-12 12:09:40 +00:00
Nextcloud bot
7efab56a83
Updating command-rebase.yml workflow from template
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-30 15:02:30 +00:00
Nextcloud bot
b03c4d0a1b
Updating node.yml workflow from template
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-30 14:18:27 +00:00
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
John Molakvoæ
421846508b
Create command-rebase.yml
2021-06-27 19:58:52 +02:00
Julius Härtl
f693c74e35
Bump node version on github actions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-17 12:38:36 +02:00
Julius Härtl
560f56505a
Try enabling apcu on cli for cypress
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 07:53:21 +02:00
Julius Härtl
71f44c0711
Use viewer in testing mode
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-11 14:57:15 +01:00
Julius Härtl
307aa76208
Disable cypress recording for now
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-08 10:40:46 +01:00
Julius Härtl
c987cf3b2c
Remove stable18 from dependabot
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-26 08:52:05 +01:00