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

Run instrumented tests on multiple API levels - #320

Merged
rfc2822 merged 7 commits into
mainfrom
315-run-instrumented-tests-on-different-api-levels
Apr 30, 2026
Merged

Run instrumented tests on multiple API levels#320
rfc2822 merged 7 commits into
mainfrom
315-run-instrumented-tests-on-different-api-levels

Conversation

@rfc2822

@rfc2822 rfc2822 commented Apr 13, 2026

Copy link
Copy Markdown
Member

Runs the instrumented tests on

  • Android 7 not supported by gradle-managed devices (we can still run them manually)
  • Android 8.1
  • Android 11 (last version that doesn't support year 2074 / millisecond resolution instance matching)
  • Android 12 (first version that supports year 2074 / millisecond resolution instance matching)
  • Android 15 (latest version with ATD image)

- Add matrix strategy for API levels 24, 30, 32, and 37
- Update test name to include API level
- Configure device API level via environment variable
- Remove AVD caching step
- Update system image source based on API level
@rfc2822 rfc2822 linked an issue Apr 13, 2026 that may be closed by this pull request
rfc2822 added 2 commits April 13, 2026 15:30
- Add `allowOldApiLevelDevices` flag to gradle.properties
- Clarify comment in tests.yml for API level 24
- Use Android 15 as latest available version
- Replace `assertNotNull` with `logger.warning` for unloaded timezones
- Add logger property to class
- Ignore exception details in catch block
@rfc2822
rfc2822 force-pushed the 315-run-instrumented-tests-on-different-api-levels branch from 9e09b8f to 487293f Compare April 13, 2026 13:31
rfc2822 added 4 commits April 13, 2026 15:36
- Remove `allowOldApiLevelDevices` flag from gradle.properties
- Update minimum API level to 27 in tests.yml
- Add comment about ATD image availability in build.gradle.kts
- Add `allowOldApiLevelDevices` flag to gradle.properties
- Re-enable API level 24 in tests.yml
- Update comment for API level 27 in tests.yml
- 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
@rfc2822
rfc2822 force-pushed the 315-run-instrumented-tests-on-different-api-levels branch from 09724f3 to 9716c5f Compare April 30, 2026 16:22
@rfc2822
rfc2822 marked this pull request as ready for review April 30, 2026 16:22
@rfc2822
rfc2822 merged commit 82cd331 into main Apr 30, 2026
8 checks passed
@rfc2822
rfc2822 deleted the 315-run-instrumented-tests-on-different-api-levels branch April 30, 2026 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run instrumented tests on different API levels

1 participant