Skip to content

Commit 6487a3e

Browse files
committed
disable broken tests
1 parent d1f7c7e commit 6487a3e

23 files changed

+4371
-4349
lines changed

.github/workflows/abtesting.yml

Lines changed: 219 additions & 218 deletions
Large diffs are not rendered by default.
Lines changed: 120 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,130 @@
1-
name: appdistribution
1+
# TODO(Swift 6): Re-enable these tests.
2+
# name: appdistribution
23

3-
on:
4-
pull_request:
5-
paths:
6-
- 'FirebaseAppDistribution**'
7-
- '.github/workflows/appdistribution.yml'
8-
- 'Gemfile*'
9-
schedule:
10-
# Run every day at 1am (PST) - cron uses UTC times
11-
- cron: '0 9 * * *'
4+
# on:
5+
# pull_request:
6+
# paths:
7+
# - 'FirebaseAppDistribution**'
8+
# - '.github/workflows/appdistribution.yml'
9+
# - 'Gemfile*'
10+
# schedule:
11+
# # Run every day at 1am (PST) - cron uses UTC times
12+
# - cron: '0 9 * * *'
1213

13-
concurrency:
14-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
15-
cancel-in-progress: true
14+
# concurrency:
15+
# group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
16+
# cancel-in-progress: true
1617

17-
jobs:
18-
pod-lib-lint:
19-
# Don't run on private repo unless it is a PR.
20-
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
18+
# jobs:
19+
# pod-lib-lint:
20+
# # Don't run on private repo unless it is a PR.
21+
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2122

22-
strategy:
23-
matrix:
24-
include:
25-
- os: macos-13
26-
xcode: Xcode_15.2
27-
- os: macos-14
28-
xcode: Xcode_15.4
29-
- os: macos-15
30-
xcode: Xcode_16.2
31-
runs-on: ${{ matrix.os }}
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: ruby/setup-ruby@v1
35-
- name: Setup Bundler
36-
run: scripts/setup_bundler.sh
37-
- name: Xcode
38-
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
39-
- name: Build and test
40-
run: |
41-
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
42-
--platforms=ios
23+
# strategy:
24+
# matrix:
25+
# include:
26+
# - os: macos-13
27+
# xcode: Xcode_15.2
28+
# - os: macos-14
29+
# xcode: Xcode_15.4
30+
# - os: macos-15
31+
# xcode: Xcode_16.2
32+
# runs-on: ${{ matrix.os }}
33+
# steps:
34+
# - uses: actions/checkout@v4
35+
# - uses: ruby/setup-ruby@v1
36+
# - name: Setup Bundler
37+
# run: scripts/setup_bundler.sh
38+
# - name: Xcode
39+
# run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
40+
# - name: Build and test
41+
# run: |
42+
# scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
43+
# --platforms=ios
4344

44-
spm-package-resolved:
45-
env:
46-
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
47-
runs-on: macos-14
48-
outputs:
49-
cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
50-
steps:
51-
- uses: actions/checkout@v4
52-
- name: Generate Swift Package.resolved
53-
id: swift_package_resolve
54-
run: |
55-
swift package resolve
56-
- name: Generate cache key
57-
id: generate_cache_key
58-
run: |
59-
cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
60-
echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
61-
- uses: actions/cache/save@v4
62-
id: cache
63-
with:
64-
path: .build
65-
key: ${{ steps.generate_cache_key.outputs.cache_key }}
45+
# spm-package-resolved:
46+
# env:
47+
# FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
48+
# runs-on: macos-14
49+
# outputs:
50+
# cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
51+
# steps:
52+
# - uses: actions/checkout@v4
53+
# - name: Generate Swift Package.resolved
54+
# id: swift_package_resolve
55+
# run: |
56+
# swift package resolve
57+
# - name: Generate cache key
58+
# id: generate_cache_key
59+
# run: |
60+
# cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
61+
# echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
62+
# - uses: actions/cache/save@v4
63+
# id: cache
64+
# with:
65+
# path: .build
66+
# key: ${{ steps.generate_cache_key.outputs.cache_key }}
6667

67-
spm:
68-
# Don't run on private repo unless it is a PR.
69-
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
70-
needs: [spm-package-resolved]
71-
strategy:
72-
matrix:
73-
include:
74-
- os: macos-13
75-
xcode: Xcode_15.2
76-
- os: macos-14
77-
xcode: Xcode_15.4
78-
- os: macos-15
79-
xcode: Xcode_16.2
80-
runs-on: ${{ matrix.os }}
81-
steps:
82-
- uses: actions/checkout@v4
83-
- uses: actions/cache/restore@v4
84-
with:
85-
path: .build
86-
key: ${{needs.spm-package-resolved.outputs.cache_key}}
87-
- name: Xcode
88-
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
89-
- name: Initialize xcodebuild
90-
run: scripts/setup_spm_tests.sh
91-
- name: iOS Unit Tests
92-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh AppDistributionUnit iOS spm
68+
# spm:
69+
# # Don't run on private repo unless it is a PR.
70+
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
71+
# needs: [spm-package-resolved]
72+
# strategy:
73+
# matrix:
74+
# include:
75+
# - os: macos-13
76+
# xcode: Xcode_15.2
77+
# - os: macos-14
78+
# xcode: Xcode_15.4
79+
# - os: macos-15
80+
# xcode: Xcode_16.2
81+
# runs-on: ${{ matrix.os }}
82+
# steps:
83+
# - uses: actions/checkout@v4
84+
# - uses: actions/cache/restore@v4
85+
# with:
86+
# path: .build
87+
# key: ${{needs.spm-package-resolved.outputs.cache_key}}
88+
# - name: Xcode
89+
# run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
90+
# - name: Initialize xcodebuild
91+
# run: scripts/setup_spm_tests.sh
92+
# - name: iOS Unit Tests
93+
# run: scripts/third_party/travis/retry.sh ./scripts/build.sh AppDistributionUnit iOS spm
9394

94-
catalyst:
95-
# Don't run on private repo unless it is a PR.
96-
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
95+
# catalyst:
96+
# # Don't run on private repo unless it is a PR.
97+
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
9798

98-
runs-on: macos-14
99-
steps:
100-
- uses: actions/checkout@v4
101-
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
102-
with:
103-
cache_key: catalyst${{ matrix.os }}
104-
- uses: ruby/setup-ruby@v1
105-
- name: Setup Bundler
106-
run: scripts/setup_bundler.sh
107-
- name: Setup project and Build for Catalyst
108-
run: scripts/test_catalyst.sh FirebaseAppDistribution test FirebaseAppDistribution-Unit-unit
99+
# runs-on: macos-14
100+
# steps:
101+
# - uses: actions/checkout@v4
102+
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
103+
# with:
104+
# cache_key: catalyst${{ matrix.os }}
105+
# - uses: ruby/setup-ruby@v1
106+
# - name: Setup Bundler
107+
# run: scripts/setup_bundler.sh
108+
# - name: Setup project and Build for Catalyst
109+
# run: scripts/test_catalyst.sh FirebaseAppDistribution test FirebaseAppDistribution-Unit-unit
109110

110-
appdistribution-cron-only:
111-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
111+
# appdistribution-cron-only:
112+
# if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
112113

113-
runs-on: macos-14
114-
strategy:
115-
matrix:
116-
target: [ios]
117-
flags: [
118-
'--use-static-frameworks'
119-
]
120-
needs: pod-lib-lint
121-
steps:
122-
- uses: actions/checkout@v4
123-
- uses: ruby/setup-ruby@v1
124-
- name: Setup Bundler
125-
run: scripts/setup_bundler.sh
126-
- name: PodLibLint App Distribution Cron
127-
run: |
128-
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
129-
--platforms=${{ matrix.target }} ${{ matrix.flags }}
114+
# runs-on: macos-14
115+
# strategy:
116+
# matrix:
117+
# target: [ios]
118+
# flags: [
119+
# '--use-static-frameworks'
120+
# ]
121+
# needs: pod-lib-lint
122+
# steps:
123+
# - uses: actions/checkout@v4
124+
# - uses: ruby/setup-ruby@v1
125+
# - name: Setup Bundler
126+
# run: scripts/setup_bundler.sh
127+
# - name: PodLibLint App Distribution Cron
128+
# run: |
129+
# scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
130+
# --platforms=${{ matrix.target }} ${{ matrix.flags }}

0 commit comments

Comments
 (0)