Skip to content

ci: functional tests #164

ci: functional tests

ci: functional tests #164

Workflow file for this run

name: Test
on: [pull_request, workflow_dispatch]
concurrency:
group: test-${{ github.event.number }}
cancel-in-progress: true
jobs:
test_unit:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repo
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 Tests
run: ./gradlew testReleaseUnitTest
continue-on-error: false
test_instrumentation:
name: Instrumentation Tests
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Run Instrumentation Tests
uses: ReactiveCircus/android-emulator-runner@v2
with:
api-level: 23
target: google_apis
arch: x86_64
script: ./gradlew connectedCheck --info
- name: Show Logs
run: adb logcat | grep -E "PPMessages|TestRunner)"