Skip to content

Commit

Permalink
Add android test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Jul 21, 2024
1 parent 1a810b1 commit 9a6f85f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/android-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android Test

on:
schedule:
# Run every sunday at midnight
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
update_contributors:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- 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: 23
script: ./gradlew connectedCheck

0 comments on commit 9a6f85f

Please # to comment.