Skip to content

Commit

Permalink
[Infra] Lint interop podspecs in GHA (#11929)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Oct 12, 2023
1 parent 1ca98ff commit edc9081
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
runs-on: macos-12
strategy:
matrix:
podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
target: [ios, tvos, macos, watchos]
steps:
- uses: actions/checkout@v3
Expand All @@ -34,7 +35,7 @@ jobs:
run: scripts/configure_test_keychain.sh
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
integration-tests:
# Don't run on private repo unless it is a PR.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/firebase_app_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
runs-on: macos-12
strategy:
matrix:
podspec: [FirebaseAppCheckInterop.podspec, FirebaseAppCheck.podspec]
target: [ios, tvos, macos]
steps:
- uses: actions/checkout@v3
Expand All @@ -30,7 +31,7 @@ jobs:
- name: Configure test keychain
run: scripts/configure_test_keychain.sh
- name: FirebaseAppCheck
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppCheck.podspec --platforms=${{ matrix.target }}
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}

catalyst:
# Don't run on private repo unless it is a PR.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ jobs:

strategy:
matrix:
podspec: [FirebaseMessagingInterop.podspec, FirebaseMessaging.podspec]
target: [ios, tvos, macos --skip-tests, watchos --skip-tests] # skipping tests on mac because of keychain access
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Build and test
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseMessaging.podspec --platforms=${{ matrix.target }}
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}

spm:
# Don't run on private repo unless it is a PR.
Expand Down

0 comments on commit edc9081

Please sign in to comment.