@@ -117,14 +117,17 @@ jobs:
117
117
# watchos is disabled since pod lib lint cannot handle test Auth dep even if the dep is only
118
118
# specified for the other three platforms.
119
119
target : [ios, tvos, macos]
120
+ spec : [
121
+ ' FirebaseStorage.podspec --test-specs=unit' , # The integration tests need more set up.
122
+ ' FirebaseStorageSwift.podspec --skip-tests' # No current unit tests.
123
+ ]
120
124
steps :
121
125
- uses : actions/checkout@v2
122
126
- name : Setup Bundler
123
127
run : scripts/setup_bundler.sh
124
128
- name : Build and test
125
129
run : |
126
- scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --skip-tests --platforms=${{ matrix.target }}
127
- scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorageSwift.podspec --skip-tests --platforms=${{ matrix.target }}
130
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.spec }} --platforms=${{ matrix.target }}
128
131
129
132
storage-cron-only :
130
133
# Don't run on private repo.
@@ -134,8 +137,8 @@ jobs:
134
137
matrix :
135
138
target : [ios, tvos, macos]
136
139
flags : [
137
- ' --skip-tests -- use-static-frameworks' ,
138
- ' --skip-tests --use-libraries '
140
+ ' --use-static-frameworks --skip-tests ' ,
141
+ ' --use-libraries --skip-tests '
139
142
]
140
143
needs : pod-lib-lint
141
144
steps :
@@ -145,4 +148,22 @@ jobs:
145
148
- name : PodLibLint Storage Cron
146
149
run : |
147
150
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
148
- scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
151
+
152
+ storageswift-cron-only :
153
+ # Don't run on private repo.
154
+ if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
155
+ runs-on : macos-latest
156
+ strategy :
157
+ matrix :
158
+ target : [ios, tvos, macos]
159
+ flags : [
160
+ ' --use-static-frameworks --skip-tests' , # Swift pods do not support --use-libraries
161
+ ]
162
+ needs : pod-lib-lint
163
+ steps :
164
+ - uses : actions/checkout@v2
165
+ - name : Setup Bundler
166
+ run : scripts/setup_bundler.sh
167
+ - name : PodLibLint Storage Cron
168
+ run : |
169
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorageSwift.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
0 commit comments