diff --git a/.github/workflows/ios-tests.yml b/.github/workflows/ios-tests.yml index fcdcd233..4f60bed7 100644 --- a/.github/workflows/ios-tests.yml +++ b/.github/workflows/ios-tests.yml @@ -21,11 +21,11 @@ jobs: sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer gem install xcpretty - name: Build - run: xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15' CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO |tee xcodebuild.log | xcpretty - - name: uploadlog - uses: actions/upload-artifact@v2 - with: - name: xcodebuild-log - path: xcodebuild.log + run: | + set -xeo pipefail + xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace \ + -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15' \ + CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO \ + | xcpretty - name: Test run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15'