-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
export JAVA_HOME="/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home"
- Loading branch information
1 parent
ef448a2
commit 928b4b8
Showing
3 changed files
with
66 additions
and
92 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: ADB Test | ||
on: push | ||
|
||
jobs: | ||
adb-test: | ||
name: Run Detox tests on Android | ||
runs-on: ["self-hosted", "Linux", "X64"] | ||
|
||
steps: | ||
- uses: actions/setup-java@v2 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
- uses: android-actions/setup-android@v3 | ||
|
||
- name: Enable KVM group perms | ||
run: | | ||
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | ||
sudo udevadm control --reload-rules | ||
sudo udevadm trigger --name-match=kvm | ||
- name: run tests | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
api-level: 29 | ||
arch: x86_64 | ||
profile: Nexus 6 | ||
avd-name: Pixel_API_29_AOSP | ||
script: | | ||
cd ~/galoy-mobile | ||
yarn e2e:test android.emu.debug -d -R 3 --headless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters