Commit graph

132 commits

Author SHA1 Message Date
Andy Scherzinger
4ba2720498
Bump drone image to 8:3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-06-05 15:13:31 +02:00
Álvaro Brey
232ffdfd3d
Drone: update server images to use php 8
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 18:17:40 +01:00
Álvaro Brey
9517c71230
drone: Fix branchname for text app
master has been renamed to main

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 11:24:34 +01:00
Álvaro Brey
b85ec336aa Drone: test on Nextcloud 25
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 10:02:02 +02:00
Álvaro Brey
f54d234626
Merge pull request #10279 from nextcloud/chore/analysis-github-token
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
2022-05-31 10:07:03 +02:00
Álvaro Brey
0ae42c892c
Drone: test on stable 24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-03 15:59:44 +02:00
Álvaro Brey Vilas
323fdda409 Drone: optimize assemble while waiting for server/emulator
- Don't assemble Gplay separately from gplayDebug. We already have some GH actions to verify that all flavors assemble.
- Assemble the AndroidTest task, so that there's less work to do when installGplayDebug is called

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 06:13:49 +00:00
Álvaro Brey Vilas
f572176e4c Drone: don't run unit tests
Done in GH actions now

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 06:13:49 +00:00
tobiasKaminsky
65fbc351e8
update drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:12:40 +01:00
tobiasKaminsky
6dbee33546
Test against latest stable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-10 11:14:26 +01:00
Álvaro Brey Vilas
b5f727f945 RetryTestRule: don't modify in scripts, use buildConfigField instead
Modifying code in scripts is bad

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-08 09:43:38 +00:00
tobiasKaminsky
60aaf00fc2
remove mail notification on failure during CI, as this is shown in GitHub anyways
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-02-25 07:07:04 +01:00
tobiasKaminsky
11524528bf
Update drone server image
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-02-11 10:16:52 +01:00
tobiasKaminsky
25f7d7c3c0
All screenshots: use newer image
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-14 07:17:20 +01:00
Álvaro Brey Vilas
9fa63c7547
Run analysis workflow in github actions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-13 09:29:43 +01:00
tobiasKaminsky
8e28921113
only cron trigger is allowed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-12 14:45:58 +01:00
tobiasKaminsky
f91550c1b2
drone cron is daily instead of nightly
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-01-11 08:52:26 +01:00
Andy Scherzinger
9e5fbf9397 use latest Android docker image
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
tobiasKaminsky
dedbc5785b Test against stable 22
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-29 12:54:36 +00:00
Álvaro Brey Vilas
3010bb2977 scripts/drone: Use deleteOldComments everywhere
This removes duplication between deleteOldComments and deleteOutdatedComments.

Additionally, deleteOutdatedComments was broken anyway, and IT/drone test comments were not being deleted.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-29 08:30:58 +00:00
tobiasKaminsky
a57f8eb989
Enhance screenshot handling
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-29 09:16:10 +02:00
Álvaro Brey Vilas
f3f14bfcc4
scripts:uploadReport: Fix git token usage
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-09-06 11:29:46 +02:00
tobiasKaminsky
8f176cb46f Use NC 21 for drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-08-06 08:15:52 +00:00
tobiasKaminsky
14f7dbb3db
Delete outdated comments before running
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-16 11:07:23 +02:00
tobiasKaminsky
c867764fde
Add stable-* to drone.yml
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-06 08:36:34 +02:00
tobiasKaminsky
0a287e0b45 alwas upload code coverage
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-06-30 06:33:40 +00:00
tobiasKaminsky
6ac4b04992
Use JDK11 and Gradle 6.7.1 in Android container
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-27 11:11:36 +02:00
tobiasKaminsky
296647ba9d
Upload coverage report even if combindedTestReport fails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-06 09:41:13 +01:00
tobiasKaminsky
2d0e924919
use new emulator
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-07 21:25:29 +01:00
tobiasKaminsky
aa188d8c0d
Fix coverage tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-02 11:22:13 +01:00
tobiasKaminsky
5db5aef0d0
Run screenshot tests on GitHub actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-18 09:57:01 +01:00
tobiasKaminsky
1b461d3e03
simplify test min sdk
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-09 10:09:53 +01:00
tobiasKaminsky
0826398c06
override minSdk only when using Karumi
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-04 12:42:11 +01:00
tobiasKaminsky
04693ed1a2
Move QA to GH actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-03 16:12:06 +01:00
tobiasKaminsky
3a76ff78df
use stable 20 for stable tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-30 07:27:39 +01:00
tobiasKaminsky
c9c0ae9e46
Allow to run different colors on dark/light mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-29 11:20:25 +02:00
tobiasKaminsky
196b16d1d3
Test login on integrationTests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-20 16:17:27 +02:00
tobiasKaminsky
db6c1ba055
new screenshots, disabled non working
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-15 15:42:26 +02:00
tobiasKaminsky
3b89449939
RetryRule does not work on Screenshot Tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-07-15 15:42:26 +02:00
tobiasKaminsky
8f0e4eab60
Delete outdated comments in case of success
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-26 12:51:47 +02:00
tobiasKaminsky
7802fabf0e
if multiple apksigner are available, use newest one
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:07 +02:00
tobiasKaminsky
f608b3916e
add missing " to fix drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-16 08:08:40 +02:00
tobiasKaminsky
5aeba5e021
enhance uploadReport script
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-10 07:12:36 +02:00
tobiasKaminsky
80d83e4721
split up unit&IT tests from screenshot tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-05 08:06:42 +02:00
tobiasKaminsky
d0f3a00637
drone/ updateScreenshot update
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-05 08:06:42 +02:00
tobiasKaminsky
5d7610d8b4
Fix failing CI, some tests still might fail, but at least all are executed
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-20 18:38:32 +02:00
Tobias Kaminsky
b580352ccc
Merge pull request #6005 from nextcloud/randomE2E
E2E overhaul
2020-05-20 15:27:20 +02:00
tobiasKaminsky
4847d3f2f5
Move CI tasks to github actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-19 07:41:52 +02:00
tobiasKaminsky
a2fc279c01
E2E overhaul
- Limit online editing/stream when e2e-encrypted file
- download files in subfolder to correct local folder name
- use httpd/unix-directory for folder in metadata
- set encryption status of subfolder

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-18 14:02:58 +02:00
tobiasKaminsky
84e72b11a1
Allow local remote servers
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-28 16:08:15 +02:00