fix: add missing end braces #172
Workflow file for this run
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 Test | |
on: | |
push: | |
pull-request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
api-level: [21, 26, 31] | |
include: | |
- api-level: 21 | |
arch: 'x86' | |
- api-level: 26 | |
arch: 'x86_64' | |
- api-level: 31 | |
arch: 'x86_64' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: make gradlew executable | |
run: chmod +x ./gradlew | |
- name: gradle cache | |
uses: gradle/gradle-build-action@v2 | |
- name: run android tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: ${{ matrix.api-level }} | |
arch: ${{ matrix.arch }} | |
disable-animations: true | |
force-avd-creation: false | |
emulator-options: -no-snapshot -no-window -no-boot-anim -camera-back emulated -camera-front emulated -gpu swiftshader_indirect | |
script: ./gradlew connectedAndroidTest --stacktrace |