Skip to content

Fix syntax for creating managed device #243

Fix syntax for creating managed device

Fix syntax for creating managed device #243

Workflow file for this run

name: CI Checks
concurrency:
group: ci-${{ github.ref_name }}
cancel-in-progress: true
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
jobs:
lint-android:
if: github.event.pull_request.draft == false
name: Lint Android
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Java environment
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Set up Android environment
uses: android-actions/setup-android@v3
- name: Lint Android source
uses: gradle/gradle-build-action@v3
with:
arguments: lintDebug
lint-kotlin:
if: github.event.pull_request.draft == false
name: Lint Kotlin
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Java environment
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Lint Kotlin code
uses: gradle/gradle-build-action@v3
with:
arguments: lintKotlin
unit-tests:
if: github.event.pull_request.draft == false
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Java environment
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Set up Android environment
uses: android-actions/setup-android@v3
- name: Run unit tests
uses: gradle/gradle-build-action@v3
with:
arguments: testDebugUnitTest
android-tests:
if: github.event.pull_request.draft == false
name: Android Tests
runs-on: macos-latest
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Java environment
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Set up Android environment
uses: android-actions/setup-android@v3
- name: Run Android tests (Pixel 8 API 34)
uses: gradle/gradle-build-action@v3
with:
arguments: pixel8Api34DebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect