Skip to content

Commit f5aad32

Browse files
authored
Disable watchOS pod lib lint tests (#10315)
1 parent fe9dfe8 commit f5aad32

File tree

10 files changed

+13
-46
lines changed

10 files changed

+13
-46
lines changed

.github/workflows/abtesting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: macos-12
2424
strategy:
2525
matrix:
26-
target: [ios, tvos, macos, watchos]
26+
target: [ios, tvos, macos]
2727
steps:
2828
- uses: actions/checkout@v2
2929
- uses: ruby/setup-ruby@v1

.github/workflows/auth.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
POD_LIB_LINT_ONLY: 1
2828
strategy:
2929
matrix:
30-
target: [ios, tvos, macos, watchos]
30+
target: [ios, tvos, macos]
3131
steps:
3232
- uses: actions/checkout@v2
3333
- uses: ruby/setup-ruby@v1
@@ -141,8 +141,8 @@ jobs:
141141
runs-on: macos-12
142142
strategy:
143143
matrix:
144-
# The macos and tvos tests can hang, and watchOS doesn't have tests.
145-
target: [ios, tvos --skip-tests, macos --skip-tests, watchos --skip-tests]
144+
# The macos and tvos tests can hang.
145+
target: [ios, tvos --skip-tests, macos --skip-tests]
146146
flags: [
147147
'--use-static-frameworks'
148148
]

.github/workflows/crashlytics.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
target: [ios, tvos, macos, watchos --skip-tests]
29+
target: [ios, tvos, macos]
3030
steps:
3131
- uses: actions/checkout@v2
3232
- uses: ruby/setup-ruby@v1
@@ -110,8 +110,7 @@ jobs:
110110
runs-on: macos-12
111111
strategy:
112112
matrix:
113-
# Disable watchos because it does not support XCTest.
114-
target: [ios, tvos, macos, watchos --skip-tests]
113+
target: [ios, tvos, macos]
115114
flags: [
116115
'--use-static-frameworks'
117116
]

.github/workflows/database.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120

121121
strategy:
122122
matrix:
123-
target: [ios, tvos, macos, watchos]
123+
target: [ios, tvos, macos]
124124
steps:
125125
- uses: actions/checkout@v2
126126
- uses: ruby/setup-ruby@v1

.github/workflows/functions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: macos-12
3131
strategy:
3232
matrix:
33-
target: [ios, tvos, macos, watchos]
33+
target: [ios, tvos, macos]
3434
steps:
3535
- uses: actions/checkout@v2
3636
- uses: ruby/setup-ruby@v1

.github/workflows/messaging.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,6 @@ jobs:
138138
run: ([ -z $plist_secret ] ||
139139
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false swift)
140140

141-
pod-lib-lint-watchos:
142-
# Don't run on private repo unless it is a PR.
143-
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
144-
runs-on: macos-12
145-
146-
steps:
147-
- uses: actions/checkout@v2
148-
- uses: ruby/setup-ruby@v1
149-
- name: Setup Bundler
150-
run: scripts/setup_bundler.sh
151-
- name: Build and test
152-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --skip-tests --platforms=watchos
153-
154-
155141
messaging-cron-only:
156142
# Don't run on private repo.
157143
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
@@ -171,24 +157,6 @@ jobs:
171157
- name: PodLibLint Messaging Cron
172158
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=${{ matrix.target }}
173159

174-
messaging-watchos-cron-only:
175-
# Don't run on private repo.
176-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
177-
runs-on: macos-12
178-
strategy:
179-
matrix:
180-
flags: [
181-
'--use-static-frameworks'
182-
]
183-
needs: pod-lib-lint-watchos
184-
steps:
185-
- uses: actions/checkout@v2
186-
- uses: ruby/setup-ruby@v1
187-
- name: Setup Bundler
188-
run: scripts/setup_bundler.sh
189-
- name: PodLibLint Messaging Cron
190-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=watchos
191-
192160
messaging-sample-build-test:
193161
# Don't run on private repo unless it is a PR.
194162
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

.github/workflows/remoteconfig.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
strategy:
6161
matrix:
62-
target: [ios, tvos, macos, watchos]
62+
target: [ios, tvos, macos]
6363
podspec: [FirebaseRemoteConfig.podspec, FirebaseRemoteConfigSwift.podspec --skip-tests]
6464
steps:
6565
- uses: actions/checkout@v2

.github/workflows/sessions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
target: [ios, tvos, macos, watchos --skip-tests]
28+
target: [ios, tvos, macos]
2929
steps:
3030
- uses: actions/checkout@v2
3131
- uses: ruby/setup-ruby@v1

.github/workflows/shared-swift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: macos-12
2424
strategy:
2525
matrix:
26-
target: [ios, tvos, macos, watchos]
26+
target: [ios, tvos, macos]
2727
steps:
2828
- uses: actions/checkout@v2
2929
- uses: ruby/setup-ruby@v1

.github/workflows/storage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
runs-on: macos-12
107107
strategy:
108108
matrix:
109-
target: [ios, tvos, macos, watchos]
109+
target: [ios, tvos, macos]
110110
steps:
111111
- uses: actions/checkout@v2
112112
- uses: ruby/setup-ruby@v1
@@ -122,7 +122,7 @@ jobs:
122122
runs-on: macos-12
123123
strategy:
124124
matrix:
125-
target: [ios, tvos, macos, watchos]
125+
target: [ios, tvos, macos]
126126
needs: pod-lib-lint
127127
steps:
128128
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)