Repository navigation
ci: run shared Maestro paywall tests with SwiftPM - #1999
Draft
ajpallares wants to merge 2 commits into
Draft
ajpallares wants to merge 2 commits into
ajpallares wants to merge 2 commits into
Conversation
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.
SwiftPM CI currently checks compilation and linking, but does not exercise purchases or paywalls at runtime. This adds a separate iOS Maestro job that runs the existing RevenueCat Test Store paywall purchase flow against a Debug build of
SPMTestAppwith freshly packed SDKs.Stacked on #1997, which builds on the SwiftPM support in #1907. The PR targets
codex/spm-app-ci.MaestroTestAppwith SPM iOS and Gradle Android, move the shared UI into it, repoint CI, and deleteSPMTestAppand the old CocoaPods setup in the removal PR.Validated locally:
All 14 latest CircleCI checks pass on commit
5385d776, including the SPM compile/link/resync job, CocoaPods iOS build and Maestro flow, and Android Maestro flow. The full SPM Test Store paywall purchase flow passes with itsproentitlement assertion (JUnit: one test, zero failures). The Android ads example build passed on retry after its first attempt downloaded an invalid Android SDK Build Tools ZIP. The job usesRC_E2E_TEST_API_KEY_PRODUCTION_TEST_STOREfrom the existinge2e-testscontext and fails early if it is missing or is not a Test Store key.