Commit graph

674 commits

Author SHA1 Message Date
Álvaro Brey
5428cf710b
analysis: Also publish summary to GITHUB_STEP_SUMMARY
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-21 12:34:03 +01:00
github-actions
07bc1e8fd0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-11-15 10:02:46 +00:00
github-actions
80f65865b1 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-10-14 19:11:35 +00:00
Andy Scherzinger
a1fb1c08d5
correct lint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
github-actions
3da226c3e8
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-10-14 11:29:33 +02:00
github-actions
4102d45a83
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-10-14 11:28:45 +02:00
Álvaro Brey
b201b3a090
Update pre-commit hook to use spotless for kotlin
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:43:48 +02:00
Álvaro Brey
509236deaa
runCombinedTest: ensure entire logcat is recorded
Start streaming logcat before tests instead of dumping it after. This avoids buffer overflow.

Additionally use xz instead of gzip, for greater compression

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-18 12:01:40 +02:00
tobiasKaminsky
2c69d94162 fix uploadReport.sh
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-07-05 12:25:23 +00:00
Álvaro Brey
7fb3c6f2ed
Remove detectNewJavaFiles script
Now built into the workflow

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-30 09:44:36 +02:00
Tobias Kaminsky
d62e215cf9
Fix QA upload (#10447)
* secret is called GIT_TOKEN on GitHub

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>

* Remove "sudo" from qa build to preserve env variables

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-28 07:43:32 +00:00
Tobias Kaminsky
e11ba7fd9e
Merge pull request #10358 from nextcloud/chore/logcat-for-failing-IT
Upload logcat on failing master-IT builds
2022-06-20 08:49:45 +02:00
tobiasKaminsky
60757a1853
Groupfolders cannot be encrypted
added test showing folder types

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-13 16:17:28 +02:00
Álvaro Brey
e9c30584a7
runCombinedTest: remove leftover debug flags
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-13 12:00:44 +02:00
Álvaro Brey
22deea9e4f
Upload logcat on failing master-IT builds
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-10 16:29:57 +02:00
github-actions
bf0a884e54 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2022-06-08 15:35:45 +00:00
nextcloud-android-bot
89c712d39c Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-06-01 07:28:17 +00: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
96ee2ee661
Fix spotbugs not failing builds when count increases
spotbugs-up now needs base branch, not target branch

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-06 09:32:15 +02:00
nextcloud-android-bot
1ea61c6fe6 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-29 15:07:40 +00:00
nextcloud-android-bot
e2c3091fc0 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-29 06:38:14 +00:00
Álvaro Brey
c20c3e4066
Merge pull request #10014 from nextcloud/spotbugs-improvements
Spotbugs improvements
2022-04-27 11:34:35 +02:00
Álvaro Brey Vilas
7073746309
Use defusedxml for xml parsing instead of etree
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 11:03:59 +02:00
Álvaro Brey Vilas
6eff01d735
Fix some codacy warnings
- Quote some strings in analysis-wrapper
 - Cleanup unneeded checks in spotbugs-up

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 10:53:30 +02:00
Álvaro Brey Vilas
79fc8c61d9
codecov: add flag to integration test coverage so the UI is clearer
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 10:19:23 +02:00
Álvaro Brey Vilas
3879d90eec Ditch findbugs-results.txt: use the stable branch XML as single source of truth
Poor man's baseline

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
21a432dc9e Generate spotbugs summary from xml
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00: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
nextcloud-android-bot
d1a3b415d8 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-19 12:40:36 +00:00
nextcloud-android-bot
997e4c736c Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-18 17:22:02 +00:00
nextcloud-android-bot
eddbe5ef28 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-18 17:20:49 +00:00
nextcloud-android-bot
e47f97b07e
Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-13 10:20:07 +02:00
tobiasKaminsky
a9473d6158
Fix drone check due to app subfolder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-13 10:18:21 +02:00
Tobias Kaminsky
31dda2e0fb
Merge pull request #9985 from nextcloud/fastscrollWithLib
Fastscroll for all lists
2022-04-13 08:30:03 +02:00
nextcloud-android-bot
c8cf7bbfe7 Analysis: update Spotbugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-04-12 07:23:20 +00:00
tobiasKaminsky
7817a3b8d5
Let us no longer create java files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-08 10:17:44 +02:00
tobiasKaminsky
c18bf9983e
correct location of different build.gradle files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-22 07:58:39 +01:00
Álvaro Brey
138d3a03a9
Merge pull request #9972 from nextcloud/fix/search-loading
Fix search loading animation and display
2022-03-17 13:04:10 +01:00
Álvaro Brey
b70eeaae3a
Merge pull request #9977 from nextcloud/chore/ktlint-gradle
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
nextcloud-android-bot
a64986e2e3
Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas
3597fb0a53
Use ktlint plugin instead of manual ktlint tasks
- Recommended by ktlint
 - Analyzes sources for all sourcesets without extra config
 - Less gradle code to maintain

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-16 11:30:39 +01:00
tobiasKaminsky
d9b8b3baf8
Add NDK to buildDev
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-16 07:56:39 +01:00
Álvaro Brey Vilas
91c46090e8
Increase findbugs-results.txt
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 14:09:57 +01:00
Álvaro Brey Vilas
a860761144
Increase lint and spotbugs
Lint is expected, spotbugs is false positive

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas
d23d20f31b
Fix git hooks for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:42:11 +01:00
Álvaro Brey Vilas
797316b75a
Fix screenshot screens for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:38:56 +01:00
Álvaro Brey Vilas
b7c0e94b3d
Fix scripts/buildDev for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:30:59 +01:00
Álvaro Brey Vilas
4c28ac03ff
Fix scripts/androidScreenshotTest for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:28:21 +01:00
Álvaro Brey Vilas
0282a98528
Fix generate_metadata.py
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:16:42 +01:00