Update ktor monorepo #1134
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: kotlinUpgradeYarnLock | |
run: ./gradlew kotlinUpgradeYarnLock | |
- name: Build android app | |
run: ./gradlew :app:assembleDebug | |
- name: Run Unit Tests | |
run: ./gradlew :app:test | |
androidTest: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Android Instrumentation Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 26 | |
arch: x86 | |
disable-animations: true | |
script: ./gradlew app:connectedAndroidTest |