Skip to content

Test drama

Test drama #429

Workflow file for this run

name: Android CI
on :
pull_request :
merge_group :
jobs:
build:
strategy:
fail-fast: false
runs-on : workflow-kotlin-test-runner-ubuntu-4core
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Gradle
run: ./gradlew build
instrumentation-tests:
name: Instrumentation tests
runs-on : workflow-kotlin-test-runner-ubuntu-4core
timeout-minutes: 30
strategy:
# Allow tests to continue on other devices if they fail on one device.
fail-fast: false
matrix:
api-level:
- 21
- 23
- 26
- 29
- 30
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Instrumentation Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: google_apis
arch: x86_64
script: ./gradlew connectedCheck --no-build-cache --no-daemon --stacktrace
- name: Upload results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: instrumentation-test-results ${{ matrix.api-level }}
path: ./**/build/reports/androidTests/connected/**