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 47910c9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ 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
script: ./gradlew -p sample marathon

0 comments on commit 47910c9

Please sign in to comment.