Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

Commit 9716c5f

Browse files
committed
Update test configuration for gradle-managed devices
- Remove `allowOldApiLevelDevices` flag from gradle.properties - Comment out API levels 24 and 27 in tests.yml - Add comments about calendar provider behavior for API levels 30 and 32 - Set `testedAbi` to `x86_64` in build.gradle.kts
1 parent c3cabf8 commit 9716c5f

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858
strategy:
5959
matrix:
6060
api-level:
61-
- 24 # Android 7 (minSdk level; not supported by gradle-managed devices)
62-
# - 27 # the lowest supported version by GMD
63-
- 30 # Android 11
64-
- 32 # Android 12L
65-
- 35 # Android 15
61+
# - 24 # Android 7 (minSdk level; not supported by gradle-managed devices)
62+
# - 27 # the lowest supported version by GMD; doesn't work for some reason
63+
- 30 # Android 11 # Android 11 is the latest version where calendar provider doesn't match millisecond occurrences of recurring events
64+
- 32 # Android 12L # Android 12 is the first version where calendar provider matches millisecond occurrences of recurring events
65+
- 35 # Android 15 # use latest SDK that has an AOSP image here
6666
env:
6767
apk-dir: lib/apk
6868
fdroid-packages: "at.techbee.jtx org.dmfs.tasks org.tasks"

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ android.useAndroidX=true
1414
# Dokka
1515
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
1616

17-
# Automated tests with gradle-managed devices require SDK level 26 by default.
18-
# Can be removed as soon as minSdk is 26.
19-
android.experimental.testOptions.managedDevices.allowOldApiLevelDevices=true

lib/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ android {
7373
apiLevel = System.getenv("API_LEVEL")?.toIntOrNull() ?: 35
7474
// ATD images are available since API level 30
7575
systemImageSource = if (apiLevel > 30) "aosp-atd" else "aosp"
76+
testedAbi = "x86_64"
7677
}
7778
}
7879
}

0 commit comments

Comments
 (0)