Skip to content

Commit 814c6ec

Browse files
committed
Move SplitTests
1 parent 3865588 commit 814c6ec

File tree

7 files changed

+14
-2
lines changed

7 files changed

+14
-2
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Run Android test
4242
run: cd splitio/example/android/; gradle :splitio:testReleaseUnitTest;
4343

44-
test-ios:
44+
build-ios:
4545
name: Test iOS
4646
runs-on: [ macos-latest ]
4747

@@ -53,10 +53,22 @@ jobs:
5353
- name: Run Build iOS
5454
run: cd splitio/example/ios; flutter build ios --no-codesign;
5555

56+
test-ios:
57+
name: Test iOS
58+
runs-on: [ macos-latest ]
59+
60+
steps:
61+
- uses: actions/checkout@v3
62+
- uses: subosito/flutter-action@v2
63+
with:
64+
channel: 'stable'
65+
- name: Run Build iOS
66+
run: cd splitio_ios/example/; flutter build ios --no-codesign;
67+
5668
- name: Select Xcode
5769
uses: maxim-lobanov/setup-xcode@v1
5870
with:
5971
xcode-version: 13.2.1
6072

6173
- name: ios
62-
run: cd splitio/example/ios; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;
74+
run: cd splitio_ios/example/ios; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;

0 commit comments

Comments
 (0)