Skip to content

Ktor 3

Ktor 3 #1206

Workflow file for this run

name: Android CI
on: pull_request
jobs:
build:
runs-on: ubuntu-23.04
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
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-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
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