Skip to content

Update dependency androidx.window:window to v1.2.0-rc01 #913

Update dependency androidx.window:window to v1.2.0-rc01

Update dependency androidx.window:window to v1.2.0-rc01 #913

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BITRISEIO_ANDROID_KEYSTORE_ALIAS: ${{secrets.KEYSTORE_ALIAS}}
BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{secrets.KEYSTORE_PRIVATE_KEY_PASSWORD}}
BITRISEIO_ANDROID_KEYSTORE_URL: ${{secrets.KEYSTORE_FILE}}
BITRISEIO_ANDROID_KEYSTORE_PASSWORD: ${{secrets.KEYSTORE_PASSWORD}}
MAPBOX_GEOCODER_ACCESS_TOKEN: ${{secrets.MAPBOX_GEOCODER_ACCESS_TOKEN}}
MAPBOX_DOWNLOAD_ACCESS_TOKEN: ${{secrets.MAPBOX_DOWNLOAD_ACCESS_TOKEN}}
API_USERNAME: ${{secrets.VALIUTCHIK_API_USERNAME}}
API_PASSWORD: ${{secrets.VALIUTCHIK_API_PASSWORD}}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Check Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Detekt
uses: gradle/gradle-build-action@v2.7.0
with:
arguments: detekt
- name: Upload build reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: detekt
path: |
app/build/reports/detekt/detekt.html
data/build/reports/detekt/detekt.html
domain/build/reports/detekt/detekt.html
ui-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Check Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Gradle cache
uses: gradle/gradle-build-action@v2.7.0
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-33
- name: Run tests
uses: reactivecircus/android-emulator-runner@v2.28.0
with:
script: ./gradlew connectedDebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.size=small
arch: x86_64
target: google_apis
disable-animations: true
api-level: 33
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Check Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Install latest build tools
run: echo "y" | /usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager --install "build-tools;34.0.0-rc3"
- name: Run tests
uses: gradle/gradle-build-action@v2.7.0
with:
arguments: testDebugUnitTest