Skip to content

Commit 8c9bd3b

Browse files
authored
Merge pull request #74 from contentstack/fix-workflows
Fix workflows
2 parents 670527a + fb3c04c commit 8c9bd3b

File tree

16 files changed

+25
-2769
lines changed

16 files changed

+25
-2769
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: "Contentstack CI"
22

33
on:
44
push:
5-
branches: [ master, next ]
5+
branches: [ master, staging ]
66
pull_request:
7-
branches: [ master, next ]
7+
branches: [ master, staging ]
88

99
jobs:
1010
macOS:
@@ -46,8 +46,8 @@ jobs:
4646
- name: Build and run tests
4747
run: |
4848
xcodebuild test \
49-
-workspace Contentstack.xcworkspace \
50-
-scheme "Contentstack macOS Tests" \
49+
-workspace ContentstackSwift.xcworkspace \
50+
-scheme "ContentstackSwift macOS Tests" \
5151
-destination 'platform=macOS,arch=arm64' \
5252
ONLY_ACTIVE_ARCH=NO \
5353
CODE_SIGNING_ALLOWED=NO
@@ -86,13 +86,13 @@ jobs:
8686
"delivery_token": "${{ secrets.delivery_token }}",
8787
"environment": "${{ secrets.environment }}"
8888
}' > Tests/config.json
89-
89+
9090
- name: Build and run tests
9191
run: |
92-
xcodebuild test \
93-
-workspace Contentstack.xcworkspace \
94-
-scheme "Contentstack iOS Tests" \
95-
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' \
96-
-sdk iphonesimulator \
97-
ONLY_ACTIVE_ARCH=NO \
98-
CODE_SIGNING_ALLOWED=NO
92+
xcodebuild test \
93+
-workspace ContentstackSwift.xcworkspace \
94+
-scheme "ContentstackSwift iOS Tests" \
95+
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5' \
96+
-sdk iphonesimulator \
97+
ONLY_ACTIVE_ARCH=NO \
98+
CODE_SIGNING_ALLOWED=NO

Contentstack.xcodeproj/ContentstackTests_Info.plist

Lines changed: 0 additions & 25 deletions
This file was deleted.

Contentstack.xcodeproj/Contentstack_Info.plist

Lines changed: 0 additions & 25 deletions
This file was deleted.

Contentstack.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2625 deletions
This file was deleted.

Contentstack.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 7 deletions
This file was deleted.

Contentstack.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

Lines changed: 0 additions & 8 deletions
This file was deleted.

Contentstack.xcodeproj/xcshareddata/xcschemes/Contentstack iOS Tests.xcscheme

Lines changed: 0 additions & 59 deletions
This file was deleted.

Contentstack.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

Lines changed: 0 additions & 8 deletions
This file was deleted.

ContentstackSwift.xcworkspace/contents.xcworkspacedata

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)