Skip to content

Commit 39efc15

Browse files
authored
Merge pull request #2 from contentstack/development
Test case change to support automation
2 parents 4af756f + 0d7812a commit 39efc15

3 files changed

Lines changed: 6 additions & 539 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Dependencies
2323
run: carthage bootstrap --no-use-binaries --platform macOS --cache-builds
2424
- name: macOS
25-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack macOS" -destination "platform=macOS" test | xcpretty
25+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack macOS" SWIFT_ACTIVE_COMPILATION_CONDITIONS="NO_FATAL_TEST" -destination "platform=macOS" test | xcpretty
2626
iOS:
2727
name: Test iOS
2828
runs-on: macos-latest
@@ -41,7 +41,7 @@ jobs:
4141
- name: Dependencies
4242
run: carthage bootstrap --no-use-binaries --platform iOS --cache-builds
4343
- name: iOS - ${{ matrix.destination }}
44-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack iOS" -destination "${{ matrix.destination }}" test | xcpretty
44+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack iOS" SWIFT_ACTIVE_COMPILATION_CONDITIONS="NO_FATAL_TEST" -destination "${{ matrix.destination }}" test | xcpretty
4545

4646
tvOS:
4747
name: Test tvOS
@@ -61,7 +61,7 @@ jobs:
6161
- name: Dependencies
6262
run: carthage bootstrap --no-use-binaries --platform tvOS --cache-builds
6363
- name: tvOS - ${{ matrix.destination }}
64-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack tvOS" -destination "${{ matrix.destination }}" test | xcpretty
64+
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Contentstack.xcworkspace" -scheme "Contentstack tvOS" SWIFT_ACTIVE_COMPILATION_CONDITIONS="NO_FATAL_TEST" -destination "${{ matrix.destination }}" test | xcpretty
6565

6666
watchOS:
6767
name: Test watchOS

0 commit comments

Comments
 (0)