@@ -59,19 +59,15 @@ jobs:
5959
6060    strategy :
6161      matrix :
62-         #  TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532 
63-         target : [ios, tvos, macos --skip-tests, watchos ] 
62+         #  TODO: add watchos back 
63+         target : [ios, tvos, macos --skip-tests] 
6464        podspec : [FirebaseRemoteConfig.podspec] 
6565        os : [macos-14] 
6666        include :
67-           - os : macos-14 
68-             xcode : Xcode_15.3 
69-             #  TODO(#13078): Fix testing infra to enforce warnings again.
70-             tests : --allow-warnings 
7167          #  Flaky tests on CI
7268          - os : macos-14 
7369            xcode : Xcode_16 
74-             tests : --skip-tests  
70+             tests : --test-specs=unit  
7571    runs-on : ${{ matrix.os }} 
7672    steps :
7773    - uses : actions/checkout@v4 
@@ -85,75 +81,75 @@ jobs:
8581       scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} \ 
8682         ${{ matrix.tests }} 
8783
88-    spm-package-resolved :
89-     env :
90-       FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT : 1 
91-     runs-on : macos-14 
92-     outputs :
93-       cache_key : ${{ steps.generate_cache_key.outputs.cache_key }} 
94-     steps :
95-       - uses : actions/checkout@v4 
96-       - name : Generate Swift Package.resolved 
97-         id : swift_package_resolve 
98-         run : | 
99-           swift package resolve 
100-        - name : Generate cache key 
101-         id : generate_cache_key 
102-         run : | 
103-           cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}" 
104-           echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT" 
105-        - uses : actions/cache/save@v4 
106-         id : cache 
107-         with :
108-           path : .build 
109-           key : ${{ steps.generate_cache_key.outputs.cache_key }} 
84+    #   spm-package-resolved:
85+   #     env:
86+   #       FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
87+   #     runs-on: macos-14
88+   #     outputs:
89+   #       cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
90+   #     steps:
91+   #       - uses: actions/checkout@v4
92+   #       - name: Generate Swift Package.resolved
93+   #         id: swift_package_resolve
94+   #         run: |
95+   #           swift package resolve
96+   #       - name: Generate cache key
97+   #         id: generate_cache_key
98+   #         run: |
99+   #           cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
100+   #           echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
101+   #       - uses: actions/cache/save@v4
102+   #         id: cache
103+   #         with:
104+   #           path: .build
105+   #           key: ${{ steps.generate_cache_key.outputs.cache_key }}
110106
111-   spm :
112-     #  Don't run on private repo unless it is a PR.
113-     if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' 
114-     needs : [spm-package-resolved] 
115-     strategy :
116-       matrix :
117-         include :
118-           - os : macos-13 
119-             xcode : Xcode_15.2 
120-             target : iOS 
121-           - os : macos-14 
122-             xcode : Xcode_15.4 
123-             target : iOS 
124-           - os : macos-15 
125-             xcode : Xcode_16 
126-             target : iOS 
127-           - os : macos-15 
128-             xcode : Xcode_16 
129-             target : tvOS 
130-           - os : macos-15 
131-             xcode : Xcode_16 
132-             target : macOS 
133-           - os : macos-15 
134-             xcode : Xcode_16 
135-             target : watchOS 
136-           - os : macos-15 
137-             xcode : Xcode_16 
138-             target : catalyst 
139-           - os : macos-15 
140-             xcode : Xcode_16 
141-             target : visionOS 
142-     runs-on : ${{ matrix.os }} 
143-     steps :
144-     - uses : actions/checkout@v4 
145-     - uses : actions/cache/restore@v4 
146-       with :
147-         path : .build 
148-         key : ${{needs.spm-package-resolved.outputs.cache_key}} 
149-     - name : Xcode 
150-       run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer 
151-     - name : Initialize xcodebuild 
152-       run : scripts/setup_spm_tests.sh 
153-     - name : Unit Tests 
154-       run : scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigUnit ${{ matrix.target }} spm 
155-     - name : Fake Console tests 
156-       run : scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigFakeConsole ${{ matrix.target }} spm 
107+   #   spm:
108+   #     # Don't run on private repo unless it is a PR.
109+   #     if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
110+   #     needs: [spm-package-resolved]
111+   #     strategy:
112+   #       matrix:
113+   #         include:
114+   #           - os: macos-13
115+   #             xcode: Xcode_15.2
116+   #             target: iOS
117+   #           - os: macos-14
118+   #             xcode: Xcode_15.4
119+   #             target: iOS
120+   #           - os: macos-15
121+   #             xcode: Xcode_16
122+   #             target: iOS
123+   #           - os: macos-15
124+   #             xcode: Xcode_16
125+   #             target: tvOS
126+   #           - os: macos-15
127+   #             xcode: Xcode_16
128+   #             target: macOS
129+   #           - os: macos-15
130+   #             xcode: Xcode_16
131+   #             target: watchOS
132+   #           - os: macos-15
133+   #             xcode: Xcode_16
134+   #             target: catalyst
135+   #           - os: macos-15
136+   #             xcode: Xcode_16
137+   #             target: visionOS
138+   #     runs-on: ${{ matrix.os }}
139+   #     steps:
140+   #     - uses: actions/checkout@v4
141+   #     - uses: actions/cache/restore@v4
142+   #       with:
143+   #         path: .build
144+   #         key: ${{needs.spm-package-resolved.outputs.cache_key}}
145+   #     - name: Xcode
146+   #       run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
147+   #     - name: Initialize xcodebuild
148+   #       run: scripts/setup_spm_tests.sh
149+   #     - name: Unit Tests
150+   #       run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigUnit ${{ matrix.target }} spm
151+   #     - name: Fake Console tests
152+   #       run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigFakeConsole ${{ matrix.target }} spm
157153
158154  catalyst :
159155    #  Don't run on private repo unless it is a PR.
0 commit comments