Procházet zdrojové kódy

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 před 3 roky
rodič
revize
c2d9876cd9
1 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. 6 2
      .github/workflows/tests.yml

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

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