Skip to content

Commit

Permalink
Update instrumented
Browse files Browse the repository at this point in the history
  • Loading branch information
gthea committed Dec 6, 2024
1 parent 910a82e commit f42a213
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/instrumented.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
api-level: [ 29 ]
shard: [ 0, 1, 2, 3 ]
shard: [ 0, 1, 2, 3, 4, 5 ]

steps:
- name: Enable KVM group perms
Expand All @@ -30,13 +30,6 @@ jobs:
- name: Gradle cache
uses: gradle/gradle-build-action@v3

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'gradle'

- name: AVD cache
uses: actions/cache@v4
id: avd-cache
Expand All @@ -51,10 +44,11 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
profile: Galaxy Nexus
avd-name: macOS-avd-arm64-v8a-29
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Assemble debug AndroidTest
Expand All @@ -65,4 +59,8 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
profile: Galaxy Nexus
script: ./gradlew connectedCheck --continue -Pandroid.testInstrumentationRunnerArguments.numShards=4 -Pandroid.testInstrumentationRunnerArguments.shardIndex=${{ matrix.shard }}
avd-name: macOS-avd-arm64-v8a-29
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: ./gradlew connectedCheck --continue -Pandroid.testInstrumentationRunnerArguments.numShards=6 -Pandroid.testInstrumentationRunnerArguments.shardIndex=${{ matrix.shard }}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apply plugin: 'kotlin-android'
apply from: 'spec.gradle'

ext {
splitVersion = '5.1.0-alpha.1'
splitVersion = '5.1.0-alpha.2'
}

android {
Expand Down

0 comments on commit f42a213

Please sign in to comment.