浏览代码

Run tests on macOS 10.15 with Xcode 12 (#159)

* Update tests.yml

* Run test on 10.15 in addition to latest.

* Include pod tests and don't fail fast.
Peter Andrews 3 年之前
父节点
当前提交
c2d9876cd9
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      .github/workflows/tests.yml

+ 6 - 2
.github/workflows/tests.yml

@@ -12,9 +12,11 @@ on:
 jobs:
 jobs:
 
 
   pod-lib-lint:
   pod-lib-lint:
-    runs-on: macOS-latest
+    runs-on: ${{ matrix.os }}
     strategy:
     strategy:
+      fail-fast: false
       matrix:
       matrix:
+        os: [macos-latest, macos-10.15]
         podspec: [GoogleSignIn.podspec, GoogleSignInSwiftSupport.podspec]
         podspec: [GoogleSignIn.podspec, GoogleSignInSwiftSupport.podspec]
         flag: [
         flag: [
           "", 
           "", 
@@ -36,9 +38,11 @@ jobs:
            ${{ matrix.includePodspecFlag }}  ${{ matrix.flag }}
            ${{ matrix.includePodspecFlag }}  ${{ matrix.flag }}
 
 
   spm-build-test:
   spm-build-test:
-    runs-on: macOS-latest
+    runs-on: ${{ matrix.os }}
     strategy:
     strategy:
+      fail-fast: false
       matrix:
       matrix:
+        os: [macos-latest, macos-10.15]
         sdk: ['macosx', 'iphonesimulator']
         sdk: ['macosx', 'iphonesimulator']
         include:
         include:
           - sdk: 'macosx'
           - sdk: 'macosx'