Skip to content

Commit 02ce41b

Browse files
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent c5a1d2b commit 02ce41b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/screenShotTest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ jobs:
5656
5757
- name: create AVD and generate snapshot for caching
5858
if: steps.avd-cache.outputs.cache-hit != 'true'
59-
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a # v2.37.0
59+
uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2.38.0
6060
with:
6161
api-level: ${{ matrix.api-level }}
6262
force-avd-creation: false
63-
arch: x86
63+
arch:
6464
sdcard-path-or-size: 100M
6565
target: google_apis
66-
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
66+
emulator-options: -no-metrics -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
6767
script: echo "Generated AVD snapshot for caching."
6868

6969
- name: Configure gradle daemon
@@ -86,14 +86,14 @@ jobs:
8686
- name: Run screenshot tests
8787
env:
8888
SHOT_TEST: "true"
89-
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a # v2.37.0
89+
uses: reactivecircus/android-emulator-runner@a421e43855164a8197daf9d8d40fe71c6996bb0d # v2.38.0
9090
with:
9191
api-level: ${{ matrix.api-level }}
9292
force-avd-creation: false
9393
arch: x86_64
9494
sdcard-path-or-size: 100M
9595
target: google_apis
96-
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
96+
emulator-options: -no-metrics -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
9797
script: SHOT_TEST=true ./gradlew uninstallAll app:executeScreenshotTests -Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED" -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
9898
- name: upload failing results
9999
if: ${{ failure() }}

0 commit comments

Comments
 (0)