diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 477e0c7..d876706 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: "Run UI Tests" - run: xcodebuild -workspace "attentive-ios-sdk.xcworkspace" -scheme "CreativeUITest" -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro" -derivedDataPath build/ -resultBundlePath ui-test-results.xcresult test | xcpretty + run: | + set -o pipefail + xcodebuild -workspace "attentive-ios-sdk.xcworkspace" -scheme "CreativeUITest" -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro" -derivedDataPath build/ -resultBundlePath ui-test-results.xcresult test | xcpretty - name: Compress UI Test Results run: tar -czf ui-test-results.xcresult.tar.gz ui-test-results.xcresult - name: Upload UI Test Results