Skip to content

Commit f8e47af

Browse files
authored
Set up multi jobs for spec testing. (#9148)
* Set up multi jobs for spec testing.
1 parent a53ec6e commit f8e47af

23 files changed

+247
-209
lines changed

.github/workflows/abtesting.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,3 @@ jobs:
118118
run: |
119119
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb \
120120
FirebaseABTesting.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
121-
122-
podspec-presubmit:
123-
# Don't run on private repo unless it is a PR.
124-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
125-
runs-on: macos-11
126-
steps:
127-
- uses: actions/checkout@v2
128-
- name: Setup Bundler
129-
run: scripts/setup_bundler.sh
130-
- name: Build and test
131-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseABTesting.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/'

.github/workflows/analytics.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,3 @@ jobs:
3333

3434
# TODO: Consider pushing GoogleAppMeasurement.podspec.json to SpecsDev to enable similar test
3535
# for FirebaseAnalytics.podspec.json
36-
37-
podspec-presubmit:
38-
# Don't run on private repo unless it is a PR.
39-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
40-
runs-on: macos-11
41-
steps:
42-
- uses: actions/checkout@v2
43-
- name: Setup Bundler
44-
run: scripts/setup_bundler.sh
45-
- name: Build and test
46-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseAnalyticsSwift.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/'

.github/workflows/auth.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,3 @@ jobs:
141141
run: scripts/configure_test_keychain.sh
142142
- name: PodLibLint Auth Cron
143143
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
144-
145-
podspec-presubmit:
146-
# Don't run on private repo unless it is a PR.
147-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
148-
runs-on: macos-11
149-
steps:
150-
- uses: actions/checkout@v2
151-
- name: Setup Bundler
152-
run: scripts/setup_bundler.sh
153-
- name: Build and test
154-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseAuth.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/'

.github/workflows/core.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,3 @@ jobs:
9494
run: scripts/setup_bundler.sh
9595
- name: PodLibLint Core Cron
9696
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCore.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
97-
98-
podspec-presubmit:
99-
# Don't run on private repo unless it is a PR.
100-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
101-
runs-on: macos-11
102-
steps:
103-
- uses: actions/checkout@v2
104-
- name: Setup Bundler
105-
run: scripts/setup_bundler.sh
106-
- name: Build and test
107-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseCore.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/'

.github/workflows/crashlytics.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,3 @@ jobs:
129129
run: scripts/setup_bundler.sh
130130
- name: PodLibLint Auth Cron
131131
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCrashlytics.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
132-
133-
podspec-presubmit:
134-
# Don't run on private repo unless it is a PR.
135-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
136-
runs-on: macos-11
137-
steps:
138-
- uses: actions/checkout@v2
139-
- name: Setup Bundler
140-
run: scripts/setup_bundler.sh
141-
- name: Build and test
142-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseCrashlytics.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/'

.github/workflows/database.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,3 @@ jobs:
150150
run: scripts/setup_bundler.sh
151151
- name: PodLibLint database Cron
152152
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDatabase.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
153-
154-
podspec-presubmit:
155-
# Don't run on private repo unless it is a PR.
156-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
157-
runs-on: macos-11
158-
steps:
159-
- uses: actions/checkout@v2
160-
- name: Setup Bundler
161-
run: scripts/setup_bundler.sh
162-
- name: Build and test
163-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseDatabase.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/'

.github/workflows/dynamiclinks.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,3 @@ jobs:
8282
- name: Test swift quickstart
8383
if: ${{ always() }}
8484
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true swift)
85-
86-
podspec-presubmit:
87-
# Don't run on private repo unless it is a PR.
88-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
89-
runs-on: macos-11
90-
steps:
91-
- uses: actions/checkout@v2
92-
- name: Setup Bundler
93-
run: scripts/setup_bundler.sh
94-
- name: Build and test
95-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseDynamicLinks.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/'

.github/workflows/firestore.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,3 @@ jobs:
289289
- name: Test swift quickstart
290290
run: ([ -z $plist_secret ] ||
291291
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)
292-
293-
podspec-presubmit:
294-
# Don't run on private repo unless it is a PR.
295-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
296-
runs-on: macos-11
297-
steps:
298-
- uses: actions/checkout@v2
299-
- name: Setup Bundler
300-
run: scripts/setup_bundler.sh
301-
- name: Build and test
302-
run: scripts/third_party/travis/retry.sh pod spec lint FirebaseFirestore.podspec --skip-tests --allow-warnings --platforms=ios --sources='https://github.com/firebase/SpecsTesting','https://github.com/firebase/SpecsDev.git','https://github.com/firebase/SpecsStaging.git','https://cdn.cocoapods.org/'

.github/workflows/functions.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,3 @@ jobs:
145145
run: |
146146
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb \
147147
FirebaseFunctions.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
148-
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/'

.github/workflows/google-utilities-components.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,3 @@ jobs:
6464
run: |
6565
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb \
6666
GoogleUtilitiesComponents.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
67-
68-
podspec-presubmit:
69-
# Don't run on private repo unless it is a PR.
70-
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
71-
runs-on: macos-11
72-
steps:
73-
- uses: actions/checkout@v2
74-
- name: Setup Bundler
75-
run: scripts/setup_bundler.sh
76-
- name: Build and test
77-
run: scripts/third_party/travis/retry.sh pod spec lint GoogleUtilitiesComponents.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

Comments
 (0)