Fix Python syntax in license-checker.py (#338) #396
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android connectedCheck | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: Android connectedCheck | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Not sure, API level 24 looks like some threshold for UI testing | |
api-level: [22, 24, 29] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'adopt' | |
cache: gradle | |
# For running ReactiveCircus/android-emulator-runner | |
# https://github.com/ReactiveCircus/android-emulator-runner/blob/a3dcdb348bb02349cd939d168a74e31a9094b7f0/README.md | |
- 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: Android Emulator Runner | |
uses: ReactiveCircus/android-emulator-runner@v2.32.0 | |
with: | |
api-level: ${{ matrix.api-level }} | |
script: ./gradlew connectedCheck |