Skip to content

Commit

Permalink
ci: try to put on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotauror committed Dec 6, 2024
1 parent f5cbdc7 commit f23d3b7
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 4 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,36 @@ jobs:
env:
NO_FLIPPER: 1

- name: Build example for iOS
# - name: Build example for iOS
# run: |
# yarn turbo run build:ios

- name: Run unit tests swift
run: |
yarn turbo run build:ios
cd example/ios
xcodebuild -workspace TicketmasterIgniteExample.xcworkspace -scheme TicketmasterIgniteExample -destination 'platform=iOS Simulator,name=iPhone 16' test
# test-swift:
# runs-on: macos-14
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Setup
# uses: ./.github/actions/setup

# - name: Install cocoapods
# run: |
# cd example/ios
# pod install
# env:
# NO_FLIPPER: 1

# - name: Build example for iOS
# run: |
# yarn turbo run build:ios

# - name: Run unit tests swift
# run: |
# cd example/ios
# xcodebuild -workspace TicketmasterIgniteExample.xcworkspace -scheme TicketmasterIgniteExample -destination 'platform=iOS Simulator,name=iPhone 16' test
24 changes: 24 additions & 0 deletions example/ios/TestPlan.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"configurations" : [
{
"id" : "56E8F040-1EDF-4F87-9FCA-4B453EDE47E1",
"name" : "Configuration 1",
"options" : {

}
}
],
"defaultOptions" : {
"testTimeoutsEnabled" : true
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:TicketmasterIgniteExample.xcodeproj",
"identifier" : "00E356ED1AD99517003FC87E",
"name" : "TicketmasterIgniteExampleTests"
}
}
],
"version" : 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "TicketmasterIgniteExampleTests/TicketmasterIgniteExampleTests-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 6.0;
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TicketmasterIgniteExample.app/TicketmasterIgniteExample";
};
name = Debug;
Expand All @@ -470,7 +470,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "TicketmasterIgniteExampleTests/TicketmasterIgniteExampleTests-Bridging-Header.h";
SWIFT_VERSION = 6.0;
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TicketmasterIgniteExample.app/TicketmasterIgniteExample";
};
name = Release;
Expand Down

0 comments on commit f23d3b7

Please sign in to comment.