Skip to content

Commit ccb1eae

Browse files
committed
auth
1 parent 8d7984a commit ccb1eae

File tree

1 file changed

+9
-29
lines changed

1 file changed

+9
-29
lines changed

.github/workflows/auth.yml

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -135,32 +135,12 @@ jobs:
135135
# test_type: "xctest"
136136

137137
auth-cron-only:
138-
# Don't run on private repo.
139-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
140-
141-
runs-on: macos-15
142-
strategy:
143-
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]
146-
flags: [
147-
'--use-static-frameworks'
148-
]
149-
needs: pod_lib_lint
150-
env:
151-
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
152-
steps:
153-
- uses: actions/checkout@v4
154-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
155-
- name: Setup Xcode
156-
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
157-
- name: Setup Bundler
158-
run: scripts/setup_bundler.sh
159-
- name: Configure test keychain
160-
run: scripts/configure_test_keychain.sh
161-
- uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
162-
with:
163-
timeout_minutes: 15
164-
max_attempts: 3
165-
retry_wait_seconds: 120
166-
command: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
138+
needs: pod_lib_lint
139+
uses: ./.github/workflows/common_cocoapods_cron.yml
140+
with:
141+
product: FirebaseAuth
142+
platforms: '[ "ios", "tvos --skip-tests", "macos --skip-tests", "watchos --skip-tests" ]'
143+
flags: '[ "--use-static-frameworks" ]'
144+
setup_command: scripts/configure_test_keychain.sh
145+
secrets:
146+
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

0 commit comments

Comments
 (0)