changeset 39:df4ddf405332

Update swift.yml committer: GitHub <noreply@github.com>
author Dennis C. M. <dennis@denniscm.com>
date Sat, 01 May 2021 11:09:31 +0200
parents 6c08380e10ae
children 80ba8b8f0fcc
files .github/workflows/swift.yml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/swift.yml	Sat May 01 10:42:01 2021 +0200
+++ b/.github/workflows/swift.yml	Sat May 01 11:09:31 2021 +0200
@@ -13,7 +13,7 @@
 
     steps:
     - uses: actions/checkout@v2
-    - name: Build
-      run: swift build -v
-    - name: Run tests
-      run: swift test -v
+    - name: Build for iOS
+      run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme IndexedDataStore -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty
+    - name: Run iOS tests
+      run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild test-without-building -scheme IndexedDataStore -destination "platform=iOS Simulator,OS=latest,name=iPhone 12" | xcpretty