mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
Move PurchaseTester to Projects (#8189)
* other: move PurchaseTester to Projects Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * other(ci): add a PurchaseTester smoke build with Tuist Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8205ba615f
commit
e59f0f3251
4 files changed
+34
-9
No files matched your search
@@ -1234,6 +1234,25 @@ jobs:
|
||||
build
|
||||
no_output_timeout: 30m
|
||||
|
||||
build-purchase-tester:
|
||||
executor:
|
||||
name: macos-executor
|
||||
xcode_version: "27.0.0"
|
||||
steps:
|
||||
- checkout
|
||||
- tuist-generate-workspace:
|
||||
query: "PurchaseTester"
|
||||
- run:
|
||||
name: Build PurchaseTester
|
||||
command: >-
|
||||
xcodebuild
|
||||
-workspace RevenueCat-Tuist.xcworkspace
|
||||
-scheme PurchaseTester
|
||||
-destination "generic/platform=iOS Simulator"
|
||||
CODE_SIGNING_ALLOWED=NO
|
||||
build
|
||||
no_output_timeout: 30m
|
||||
|
||||
check-app-extension-safe-api-usage:
|
||||
executor:
|
||||
name: macos-executor
|
||||
@@ -2466,6 +2485,9 @@ workflows:
|
||||
- build-samplecat:
|
||||
context:
|
||||
- slack-secrets
|
||||
- build-purchase-tester:
|
||||
context:
|
||||
- slack-secrets
|
||||
- pod-lib-lint:
|
||||
context:
|
||||
- slack-secrets
|
||||
@@ -2658,6 +2680,7 @@ workflows:
|
||||
- check-api-changes
|
||||
- run-test-ios-27
|
||||
- build-samplecat
|
||||
- build-purchase-tester
|
||||
- pod-lib-lint
|
||||
- run-revenuecat-ui-ios-27
|
||||
- run-revenuecat-ui-ios-26
|
||||
|
||||
@@ -19,6 +19,7 @@ const JOBS = {
|
||||
"backend-integration-tests-other": ["slack-secrets"],
|
||||
"check-app-extension-safe-api-usage": ["slack-secrets"],
|
||||
"build-samplecat": ["slack-secrets"],
|
||||
"build-purchase-tester": ["slack-secrets"],
|
||||
"build-tv-watch-mac-and-visionos": ["slack-secrets"],
|
||||
"check-api-changes": ["slack-secrets-ios", "slack-secrets"],
|
||||
"docs-build": ["slack-secrets"],
|
||||
|
||||
@@ -41,11 +41,11 @@ let project = Project(
|
||||
deploymentTargets: deploymentTargets,
|
||||
infoPlist: "../../Tests/TestingApps/PurchaseTesterSwiftUI/PurchaseTester-Info.plist",
|
||||
sources: [
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/**/*.swift",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/**/*.swift"
|
||||
],
|
||||
resources: [
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/AppIcon.xcassets",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/Assets.xcassets",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/Assets.xcassets"
|
||||
],
|
||||
dependencies: [
|
||||
.target(name: "Core")
|
||||
@@ -54,7 +54,7 @@ let project = Project(
|
||||
additionalFiles: [
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/PurchaseTester.entitlements",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/PurchaseTesterStoreKitConfiguration.storekit"
|
||||
],
|
||||
]
|
||||
),
|
||||
|
||||
.target(
|
||||
@@ -69,7 +69,7 @@ let project = Project(
|
||||
],
|
||||
resources: [
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/AppIcon.xcassets",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/Assets.xcassets",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Shared/Assets.xcassets"
|
||||
],
|
||||
dependencies: [
|
||||
.target(name: "Core")
|
||||
@@ -83,15 +83,15 @@ let project = Project(
|
||||
bundleId: "com.revenuecat.Core",
|
||||
deploymentTargets: allDeploymentTargets,
|
||||
sources: [
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Core/**/*.swift",
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/Core/**/*.swift"
|
||||
],
|
||||
dependencies: [
|
||||
.revenueCat,
|
||||
.revenueCatUI,
|
||||
.receiptParser,
|
||||
.receiptParser
|
||||
],
|
||||
settings: .framework
|
||||
),
|
||||
)
|
||||
].addingXcodeDeploymentTargetOverrides(),
|
||||
schemes: [
|
||||
.scheme(
|
||||
@@ -102,7 +102,8 @@ let project = Project(
|
||||
configuration: "Debug",
|
||||
executable: "PurchaseTester",
|
||||
options: .options(
|
||||
storeKitConfigurationPath: "../../Tests/TestingApps/PurchaseTesterSwiftUI/PurchaseTesterStoreKitConfiguration.storekit"
|
||||
storeKitConfigurationPath:
|
||||
"../../Tests/TestingApps/PurchaseTesterSwiftUI/PurchaseTesterStoreKitConfiguration.storekit"
|
||||
)
|
||||
)
|
||||
),
|
||||
+1
-1
@@ -7,8 +7,8 @@ var projects: [Path] = [
|
||||
"./Examples/MagicWeather/",
|
||||
"./Examples/MagicWeatherSwiftUI/",
|
||||
"./Examples/testCustomEntitlementsComputation/",
|
||||
"./Examples/PurchaseTester/",
|
||||
"./Examples/SampleCat/",
|
||||
"./Projects/PurchaseTester",
|
||||
"./Projects/PaywallsTester",
|
||||
"./Projects/APITesters",
|
||||
"./Projects/PaywallValidationTester",
|
||||
|
||||
Reference in new issue
Block a user