Peter Andrews 5 лет назад
Родитель
Сommit
36a115d1cd
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      .github/workflows/test.yml

+ 12 - 0
.github/workflows/test.yml

@@ -14,3 +14,15 @@ jobs:
       run: bundle install
       run: bundle install
     - name: Lint podspec using local source
     - name: Lint podspec using local source
       run: pod lib lint --allow-warnings
       run: pod lib lint --allow-warnings
+
+  spm-build-test:
+    runs-on: macOS-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Initialize xcodebuild
+      run: xcodebuild -list
+    - name: Run unit test target
+      run: xcodebuild -scheme GoogleSignIn \
+                      -sdk 'iphonesimulator' \
+		      -destination 'platform=iOS Simulator,name=iPhone 11' \
+		      test