Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visionOS: changed CI job to Release #3042

Merged
merged 1 commit into from
Aug 22, 2023
Merged

visionOS: changed CI job to Release #3042

merged 1 commit into from
Aug 22, 2023

Conversation

NachoSoto
Copy link
Contributor

The build_tv_watch_mac job already builds on Release mode (Carthage's default).
This would have also helped detect the issue fixed by #3034.

I've also changed the API tester jobs to compile on release, though those aren't ran by CI.

The `build_tv_watch_mac` job already builds on Release mode (`Carthage`'s default).
This would have also helped detect the issue fixed by #3034.

I've also changed the API tester jobs to compile on release, though those aren't ran by CI.
@NachoSoto NachoSoto added test Adding missing tests or correcting existing tests ci Changes to our CI configuration files and scripts labels Aug 17, 2023
@NachoSoto NachoSoto requested a review from a team August 17, 2023 17:52
@NachoSoto NachoSoto added the xrOS label Aug 17, 2023
@@ -237,7 +238,8 @@ platform :ios do
xcodebuild(
workspace: 'RevenueCat.xcworkspace',
scheme: 'SwiftAPITester',
destination: 'generic/platform=iOS Simulator'
destination: 'generic/platform=iOS Simulator',
configuration: 'release',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should build the api tests in both debug and release, in case we have any debug-only apis... I agree release is more important though, so this makes sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We compile API testers in debug when running tests.

@NachoSoto NachoSoto enabled auto-merge (squash) August 22, 2023 16:36
@NachoSoto NachoSoto merged commit 4cdb560 into main Aug 22, 2023
15 checks passed
@NachoSoto NachoSoto deleted the tests-release branch August 22, 2023 23:24
NachoSoto pushed a commit that referenced this pull request Aug 23, 2023
**This is an automatic release.**

### Other Changes
* `Integration Tests`: test that `checkTrialOrIntroDiscountEligibility`
makes no API requests (#3054) via NachoSoto (@NachoSoto)
* `visionOS`: changed CI job to Release (#3042) via NachoSoto
(@NachoSoto)
* `StoreKit 2`: added warning to paywall constructors (#3045) via
NachoSoto (@NachoSoto)
* `README`: added `visionOS` to list of supported platforms (#3052) via
NachoSoto (@NachoSoto)
* `Tests`: added tests for `ClockType` (#3029) via NachoSoto
(@NachoSoto)
* `HTTPClient`: also parse errors with `application/json;charset=utf8`
(#3041) via NachoSoto (@NachoSoto)
MarkVillacampa pushed a commit that referenced this pull request Sep 6, 2023
The `build_tv_watch_mac` job already builds on Release mode
(`Carthage`'s default).
This would have also helped detect the issue fixed by #3034.

I've also changed the API tester jobs to compile on release, though
those aren't ran by CI.
MarkVillacampa pushed a commit that referenced this pull request Sep 6, 2023
**This is an automatic release.**

### Other Changes
* `Integration Tests`: test that `checkTrialOrIntroDiscountEligibility`
makes no API requests (#3054) via NachoSoto (@NachoSoto)
* `visionOS`: changed CI job to Release (#3042) via NachoSoto
(@NachoSoto)
* `StoreKit 2`: added warning to paywall constructors (#3045) via
NachoSoto (@NachoSoto)
* `README`: added `visionOS` to list of supported platforms (#3052) via
NachoSoto (@NachoSoto)
* `Tests`: added tests for `ClockType` (#3029) via NachoSoto
(@NachoSoto)
* `HTTPClient`: also parse errors with `application/json;charset=utf8`
(#3041) via NachoSoto (@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes to our CI configuration files and scripts test Adding missing tests or correcting existing tests xrOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants