Skip to content

Commit

Permalink
#9: tried alternative to accept licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
arburk committed Jan 7, 2024
1 parent b401daf commit 5c6e3b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: SDKs - accept licenses
if: steps.check_pr.outputs.pr_exists_or_main_branch != 0
run: y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
run: /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"

- name: Enable KVM group perms
if: steps.check_pr.outputs.pr_exists_or_main_branch != 0
Expand All @@ -70,6 +70,7 @@ jobs:
sudo udevadm trigger --name-match=kvm
- name: Perfom instrumented tests
continue-on-error: true
if: steps.check_pr.outputs.pr_exists_or_main_branch != 0
run: ./gradlew supportedSdksGroupDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.experimental.testOptions.managedDevices.emulators.emulator.showKernelLogging=true --info

Expand Down

0 comments on commit 5c6e3b4

Please sign in to comment.