Update dependency androidx.baselineprofile to v1.3.3 - autoclosed #1886
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: | |
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}} | |
GEOAPIFY_API_KEY: ${{secrets.GEOAPIFY_API_KEY}} | |
API_USERNAME: ${{secrets.VALIUTCHIK_API_USERNAME}} | |
API_PASSWORD: ${{secrets.VALIUTCHIK_API_PASSWORD}} | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 23 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '23' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
with: | |
validate-wrappers: true | |
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
- name: Check | |
run: ./gradlew check | |
ui-tests: | |
runs-on: ubuntu-latest | |
needs: check | |
steps: | |
- uses: actions/[email protected] | |
- name: set up JDK 23 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '23' | |
distribution: 'temurin' | |
- name: Enable KVM group perms | |
run: | | |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
sudo udevadm control --reload-rules | |
sudo udevadm trigger --name-match=kvm | |
- name: Gradle cache | |
uses: gradle/actions/[email protected] | |
with: | |
validate-wrappers: true | |
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
- name: AVD cache | |
uses: actions/cache@v4 | |
id: avd-cache | |
with: | |
path: | | |
~/.android/avd/* | |
~/.android/adb* | |
key: avd-34 | |
- name: Run tests | |
uses: reactivecircus/[email protected] | |
with: | |
script: ./gradlew connectedDebugAndroidTest --no-watch-fs -Pandroid.testInstrumentationRunnerArguments.size=small | |
arch: x86_64 | |
target: google_apis | |
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
disable-animations: true | |
api-level: 34 |