Skip to content

Merge pull request #121 from dokar3/dokar/fix-tap-to-collapse-detection #238

Merge pull request #121 from dokar3/dokar/fix-tap-to-collapse-detection

Merge pull request #121 from dokar3/dokar/fix-tap-to-collapse-detection #238

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- 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: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: ./gradlew build
- name: Run Android instrumentation tests
run: ./gradlew pixel2api31DebugAndroidTest