Repository navigation
Conversation
Each Android emulator job ran the device tests, then Setup Environment, then the integration tests, about 22 minutes after waiting 7.5 for the device test app builds. The integration tests build their own app from source and share only the emulator, so they now run in a second job that starts with the workflow. The new job drops "Select Java 21". It came with #4559, when Setup Environment ended on Java 11; since #5060 it installs only Java 21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5800 +/- ##
==========================================
- Coverage 76.13% 76.12% -0.01%
==========================================
Files 528 528
Lines 19579 19579
Branches 3829 3829
==========================================
- Hits 14906 14905 -1
Misses 3791 3791
- Partials 882 883 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each Android emulator job runs the device tests and then the integration tests. The integration tests don't use anything from the device tests. They build their own app,
Sentry.Maui.Device.IntegrationTestApp, from source, and only share the emulator.Here's the longest emulator job from #5795's run, API-34 on net10.0, with Setup Environment at its usual 3.1 minutes because #5794 removes the Mono download:
9.9 of those 14.9 minutes are the 4 integration app builds, while the emulator sits idle.
So this PR moves
android.Tests.ps1into a second job,android-integration-tests, with the same TFM and API-level matrix. It doesn't need the device test app, so it starts with the workflow.androidjob keeps the device tests and no longer runs Setup Environment.ubuntu-latest, the standard runner ci: run the Android device tests on standard runners #5795 proposes for the device tests, whether ci: run the Android device tests on standard runners #5795 lands or not.androidjob through YAML anchors, the way the emulatorwith:blocks already do.device-test-android-<api>-<tfm>-resultsanddevice-test-android-integration-<api>-<tfm>-results.The new job's first emulator boot also installs the system image, which took 1.6 to 2.8 minutes in #5795's run, against about 0.6 for the second boot today. With that, I expect:
With the other open CI PRs, the build workflow gets to about 30 minutes, and Android at about 29 would be right behind it. This should bring Android to about 20, and an integration test retry, 6 to 15 minutes, no longer stacks on the device tests.
Measured on the first run, against #5795's run from the same evening, which had no Mono download either:
All 8 jobs passed. The device test jobs now take under 4 minutes after the test app builds, and the longest integration job, API-36 on net10.0, sets the workflow's time.
This and #5795 both edit the end of the
androidjob, so whichever lands second needs a small rebase around #5795's last "Show disk space" step.#skip-changelog