Repository navigation
ci(replay): Run Compose UI test matrix in a dedicated workflow - #6692
Closed
sentry-junior[bot] wants to merge 1 commit into
Closed
sentry-junior[bot] wants to merge 1 commit into
sentry-junior[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io>
Contributor
PR risk: mediumFor commit The model rated this change low. It was raised to medium because:
This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
Contributor
|
closing in favour of #6638 |
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.
📜 Description
Moves the
sentry-android-replayCompose UI test matrix out of theBuildjob and into its ownReplay Compose UI Matrixworkflow.composeUi112/composeUi113build types are now created only when thecomposeUiTestMatrixGradle property is set. Without it,check(and somake preMerge) no longer runstestComposeUi112UnitTest/testComposeUi113UnitTest.testComposeUiMatrixlifecycle task runs every version incomposeUiTestVersions. The new workflow runs./gradlew :sentry-android-replay:testComposeUiMatrix -PcomposeUiTestMatrix.💡 Motivation and Context
#6626 added the build types, so AGP wires their Robolectric unit tests into
testand thereforecheck. That added about 8 minutes of heavy tests to theBuildjob, and the job started getting killed from resource starvation on branches that include it (e.g. #6624). Test matrices shouldn't live oncheck.🔮 Next steps
Double check Gradle heap sizes for the
Buildjob.#skip-changelog
via no.
--
View Session [Sentry]