diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index b150c6a..9489280 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -25,7 +25,16 @@ jobs: - name: Build Xcode run: | - xcodebuild clean test -project CamPlace/CamPlace.xcodeproj \ + xcodebuild clean build-for-testing -project CamPlace/CamPlace.xcodeproj \ + -scheme CamPlace \ + -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' \ + CODE_SIGNING_ALLOWED=NO \ + CODE_SIGN_IDENTITY="" \ + PROVISIONING_PROFILE_SPECIFIER="" + + - name: Run tests + run: | + xcodebuild test-without-building \ + -project CamPlace/CamPlace.xcodeproj \ -scheme CamPlace \ -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' - CODE_SIGNING_ALLOWED=NO