Skip to content

[BROWSERTACK-GITHUB-ACTION] Create Android tests github action #5

[BROWSERTACK-GITHUB-ACTION] Create Android tests github action

[BROWSERTACK-GITHUB-ACTION] Create Android tests github action #5

Workflow file for this run

name: Android tests
on: [pull_request]
jobs:
test:
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Run unit test
run: ./gradlew testDebugUnitTest --stacktrace --no-daemon
- name: Run android test
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :core:connectedDebugAndroidTest
- name: Jacoco report
run: ./gradlew jacocoReport --stacktrace --no-daemon