|
26 | 26 | runs-on: macos-11
|
27 | 27 | strategy:
|
28 | 28 | matrix:
|
29 |
| - target: [ios, tvos, macos, watchos] |
| 29 | + # TODO: The --skip-tests might be removable with Xcode 13.2+ |
| 30 | + target: [ios, tvos, macos --skip-tests, watchos] |
30 | 31 | podspec: [ 'FirebaseFunctions.podspec', 'FirebaseFunctionsSwift.podspec']
|
| 32 | + env: |
| 33 | + POD_LIB_LINT_ONLY: 1 |
31 | 34 | steps:
|
32 | 35 | - uses: actions/checkout@v2
|
33 | 36 | - name: Setup Bundler
|
@@ -143,14 +146,16 @@ jobs:
|
143 | 146 | scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb \
|
144 | 147 | FirebaseFunctions.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
|
145 | 148 |
|
146 |
| - #TODO - reenable once there's a tag with the new directory structure. See #8918 and #8299 |
147 |
| - # podspec-presubmit: |
148 |
| - # Don't run on private repo unless it is a PR. |
149 |
| - # if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed' |
150 |
| - # runs-on: macos-11 |
151 |
| - # steps: |
152 |
| - # - uses: actions/checkout@v2 |
153 |
| - # - name: Setup Bundler |
154 |
| - # run: scripts/setup_bundler.sh |
155 |
| - # - name: Build and test |
156 |
| - # run: scripts/third_party/travis/retry.sh pod spec lint FirebaseFunctions.podspec --skip-tests --sources='https://github.com/firebase/SpecsTesting','https://github.com/firebase/SpecsDev.git','https://github.com/firebase/SpecsStaging.git','https://cdn.cocoapods.org/' |
| 149 | + podspec-presubmit: |
| 150 | + if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed' |
| 151 | + runs-on: macos-11 |
| 152 | + strategy: |
| 153 | + matrix: |
| 154 | + target: [ios, tvos, macos, watchos] |
| 155 | + podspec: [ 'FirebaseFunctions.podspec', 'FirebaseFunctionsSwift.podspec'] |
| 156 | + steps: |
| 157 | + - uses: actions/checkout@v2 |
| 158 | + - name: Setup Bundler |
| 159 | + run: scripts/setup_bundler.sh |
| 160 | + - name: Build and test |
| 161 | + run: scripts/third_party/travis/retry.sh pod spec lint ${{ matrix.podspec }} --skip-tests --sources='https://github.com/firebase/SpecsTesting','https://github.com/firebase/SpecsDev.git','https://github.com/firebase/SpecsStaging.git','https://cdn.cocoapods.org/' |
0 commit comments