Skip to content

fix: get tests working again #140

fix: get tests working again

fix: get tests working again #140

Workflow file for this run

name: Verify Pull Request
on: [ pull_request, workflow_dispatch ]
jobs:
check:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: ./.github/actions/gradle-cache
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Check app
run: ./gradlew check
test:
timeout-minutes: 30
runs-on: macos-latest
strategy:
matrix:
api-level: [ 21, 29 ]
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: ./.github/actions/gradle-cache
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: AVD cache
uses: actions/cache@v4
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
script: ./gradlew connectedAndroidTest