Skip to content

update room version #17

update room version

update room version #17

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Android CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
instrumentation-tests:
name: Instrumentation tests
runs-on: macOS-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
api-level: [19, 25, 29]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 1.8
# Restore the cache.
# Intentionally don't set 'restore-keys' so the cache never contains redundant dependencies.
- name: Setup Cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: gradle-${{ runner.os }}-${{ hashFiles('**/**.gradle.kts', '**/gradle/wrapper/gradle-wrapper.properties', '**/buildSrc/src/main/kotlin/Library.kt') }}
- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
arch: x86
script: ./gradlew connectedDebugAndroidTest --no-build-cache --no-daemon --stacktrace