diff --git a/.github/workflows/update-caches.yml b/.github/workflows/update-caches.yml index 55f533f1..12d14d05 100644 --- a/.github/workflows/update-caches.yml +++ b/.github/workflows/update-caches.yml @@ -46,7 +46,10 @@ jobs: 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: 📱 Create AVD and generate snapshot for caching + - name: 🚧 Build + run: ./gradlew --no-configuration-cache assembleDebug + - name: 📱 Create AVD and Run UI tests + continue-on-error: true uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ env.androidApiVersion }} @@ -58,9 +61,7 @@ jobs: force-avd-creation: false disable-animations: true emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - script: echo "Generated AVD snapshot for caching." - - name: 🚧 Build - run: ./gradlew --no-configuration-cache assembleDebug + script: ./gradlew --no-configuration-cache connectedCheck - name: 💾 📱 Save AVD Cache uses: actions/cache/save@v4 with: diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 74e1de9e..793bba10 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -37,7 +37,7 @@ androidX-splashscreen = { module = "androidx.core:core-splashscreen", version = compose_paging = { module = "androidx.paging:paging-compose", version = "3.3.2" } compose_activity = { module = "androidx.activity:activity-compose", version = "1.10.0-alpha02" } compose_navigation = { module = "androidx.navigation:navigation-compose", version = "2.8.0" } -compose_testManifest = { module = "androidx.compose.ui:ui-test-manifest", version = "1.8.0-alpha01" } +compose_testManifest = { module = "androidx.compose.ui:ui-test-manifest", version = "1.8.0-alpha02" } junit = { module = "junit:junit", version = "4.13.2" } kotest_assertions = { module = "io.kotest:kotest-assertions-core", version = "5.9.1" } coroutinesTest = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version = "1.9.0" }