Skip to content

[TECHNICAL] Integrate instrumented tests into GitHub Actions #1

[TECHNICAL] Integrate instrumented tests into GitHub Actions

[TECHNICAL] Integrate instrumented tests into GitHub Actions #1

name: Android Instrumented Tests
on:
pull_request:
jobs:
instrumented-tests:
name: Run Android Instrumented Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Run Instrumented Tests
uses: ReactiveCircus/android-emulator-runner@v2
with:
api-level: 34
target: google_apis
arch: x86_64
profile: pixel
script: ./gradlew :ownCloudData:connectedAndroidTest