Skip to content

Commit 9fa4419

Browse files
authored
Merge pull request #4690 from owncloud/fix/improve_performance_emulator_actions
[FIX] Improve some emulator and gradle parameters
2 parents ae32799 + 7fdf251 commit 9fa4419

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- improvement/*
1010
- release/*
1111
- technical/*
12+
- 'dependabot/**'
1213

1314
permissions:
1415
# Only need read access to repository contents
@@ -166,13 +167,13 @@ jobs:
166167
avd-name: test-avd
167168
force-avd-creation: true
168169
disable-animations: true
169-
emulator-options: -no-window -no-audio -no-boot-anim -accel auto -memory 2048
170+
emulator-options: -no-snapshot -no-window -no-audio -no-boot-anim -accel on -memory 4096
170171
script: |
171172
# To catch only crashes in background
172173
adb logcat -b crash *:E > crash_log.txt 2>&1 &
173174
LOGCAT_PID=$!
174175
175-
./gradlew clean test -Dserver="${{ secrets.OC_SERVER_URL }}" -Dusername="${{ secrets.OC_SERVER_USERNAME_TEST }}" -Dpassword="${{ secrets.OC_SERVER_PASSWORD_TEST }}" -Dcommit="$(echo $GITHUB_SHA | cut -c1-7)"
176+
./gradlew --no-daemon clean test -Dserver="${{ secrets.OC_SERVER_URL }}" -Dusername="${{ secrets.OC_SERVER_USERNAME_TEST }}" -Dpassword="${{ secrets.OC_SERVER_PASSWORD_TEST }}" -Dcommit="$(echo $GITHUB_SHA | cut -c1-7)"
176177
177178
# Kill logcat to serve crash_log.txt
178179
kill $LOGCAT_PID || true

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ ownCloud admins and users.
5050
* Enhancement - Edit a space: [#4607](https://github.com/owncloud/android/issues/4607)
5151
* Enhancement - Update test in GitHub Actions: [#4663](https://github.com/owncloud/android/pull/4663)
5252
* Enhancement - New workflow to generate a build from "latest" tag on demand: [#4681](https://github.com/owncloud/android/pull/4681)
53+
* Enhancement - Make Update test more robust: [#4690](https://github.com/owncloud/android/pull/4690)
5354

5455
## Details
5556

@@ -144,6 +145,13 @@ ownCloud admins and users.
144145

145146
https://github.com/owncloud/android/pull/4681
146147

148+
* Enhancement - Make Update test more robust: [#4690](https://github.com/owncloud/android/pull/4690)
149+
150+
Improvements have been added to the update test workflow in order to make the
151+
emulator execution more performant. Also, added a trigger for dependabot PRs.
152+
153+
https://github.com/owncloud/android/pull/4690
154+
147155
# Changelog for ownCloud Android Client [4.6.2] (2025-08-13)
148156

149157
The following sections list the changes in ownCloud Android Client 4.6.2 relevant to

changelog/unreleased/4690

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Enhancement: Make Update test more robust
2+
3+
Improvements have been added to the update test workflow in order to make the emulator execution more performant. Also, added a trigger for dependabot PRs.
4+
5+
https://github.com/owncloud/android/pull/4690

0 commit comments

Comments
 (0)