Skip to content

Commit

Permalink
Include sample tests in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chelombitko committed Aug 22, 2024
1 parent adca6cf commit ae097c0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ jobs:
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@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: Build
run: ./gradlew build publishToMavenLocal
- name: Build sample
run: ./gradlew -p sample marathon --dry-run
- name: Run sample tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 35
arch: x86_64
target: google_apis
script: ./gradlew -p sample marathon

0 comments on commit ae097c0

Please sign in to comment.