Skip to content

Commit

Permalink
Add android test
Browse files Browse the repository at this point in the history
  • Loading branch information
marianobarrios committed Apr 6, 2024
1 parent 51b4c52 commit 43c165e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,19 @@ jobs:
21
- run: ./gradlew assemble check --info
env:
JAVA_TOOLCHAIN: ${{ matrix.java-version }}
JAVA_TOOLCHAIN: ${{ matrix.java-version }}
build-android:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Enable KVM
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
script: ./gradlew assemble check --info

0 comments on commit 43c165e

Please sign in to comment.