From 132f489e600e745a921bfe805ba4f003c935e6e0 Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Tue, 11 Jun 2024 22:29:58 -0700 Subject: [PATCH] Reference script in later step --- .github/workflows/android.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 30e81795..0f7eeb90 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -130,7 +130,9 @@ jobs: force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true - script: ./gradlew connectedCheck --no-daemon --stacktrace + script: | + ./gradlew connectedCheck --no-daemon --stacktrace + bash --noprofile --norc -eo pipefail "${{ steps.script.outputs.file }}" - name: Start emulator and run UI Tests w/ KSP uses: reactivecircus/android-emulator-runner@v2 @@ -139,7 +141,9 @@ jobs: force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true - script: ./gradlew connectedCheck --no-daemon --stacktrace -PuseKsp=true + script: | + ./gradlew connectedCheck --no-daemon --stacktrace -PuseKsp=true + bash --noprofile --norc -eo pipefail "${{ steps.script.outputs.file }}" - name: Run Screenshot Tests uses: reactivecircus/android-emulator-runner@v2