Преглед изворни кода

Split xcodebuild test into two phases.

Peter Andrews пре 5 година
родитељ
комит
a749770454
1 измењених фајлова са 8 додато и 1 уклоњено
  1. 8 1
      .github/workflows/tests.yml

+ 8 - 1
.github/workflows/tests.yml

@@ -21,10 +21,17 @@ jobs:
     - uses: actions/checkout@v2
     - name: Initialize xcodebuild
       run: xcodebuild -list
+    - name: Build unit test target
+      run: |
+        xcodebuild \
+          -scheme GoogleSignIn \
+          -sdk 'iphonesimulator' \
+          -destination 'platform=iOS Simulator,name=iPhone 11' \
+          build-for-testing
     - name: Run unit test target
       run: |
         xcodebuild \
           -scheme GoogleSignIn \
           -sdk 'iphonesimulator' \
           -destination 'platform=iOS Simulator,name=iPhone 11' \
-          test
+          test-without-building