diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 2bec13ec150..5d3f274ae9b 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -9,6 +9,7 @@ on: - improvement/* - release/* - technical/* + - 'dependabot/**' permissions: # Only need read access to repository contents @@ -166,13 +167,13 @@ jobs: avd-name: test-avd force-avd-creation: true disable-animations: true - emulator-options: -no-window -no-audio -no-boot-anim -accel auto -memory 2048 + emulator-options: -no-snapshot -no-window -no-audio -no-boot-anim -accel on -memory 4096 script: | # To catch only crashes in background adb logcat -b crash *:E > crash_log.txt 2>&1 & LOGCAT_PID=$! - ./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)" + ./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)" # Kill logcat to serve crash_log.txt kill $LOGCAT_PID || true diff --git a/CHANGELOG.md b/CHANGELOG.md index 26e487afcd2..655576da816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ ownCloud admins and users. * Enhancement - Edit a space: [#4607](https://github.com/owncloud/android/issues/4607) * Enhancement - Update test in GitHub Actions: [#4663](https://github.com/owncloud/android/pull/4663) * Enhancement - New workflow to generate a build from "latest" tag on demand: [#4681](https://github.com/owncloud/android/pull/4681) +* Enhancement - Make Update test more robust: [#4690](https://github.com/owncloud/android/pull/4690) ## Details @@ -144,6 +145,13 @@ ownCloud admins and users. https://github.com/owncloud/android/pull/4681 +* Enhancement - Make Update test more robust: [#4690](https://github.com/owncloud/android/pull/4690) + + 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. + + https://github.com/owncloud/android/pull/4690 + # Changelog for ownCloud Android Client [4.6.2] (2025-08-13) The following sections list the changes in ownCloud Android Client 4.6.2 relevant to diff --git a/changelog/unreleased/4690 b/changelog/unreleased/4690 new file mode 100644 index 00000000000..2a9242e8d96 --- /dev/null +++ b/changelog/unreleased/4690 @@ -0,0 +1,5 @@ +Enhancement: Make Update test more robust + +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. + +https://github.com/owncloud/android/pull/4690