Skip to content

Commit 467f7fd

Browse files
committed
abtesting
1 parent eb1d249 commit 467f7fd

File tree

1 file changed

+47
-49
lines changed

1 file changed

+47
-49
lines changed

.github/workflows/abtesting.yml

Lines changed: 47 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ concurrency:
2525
cancel-in-progress: true
2626

2727
jobs:
28-
# spm:
29-
# uses: ./.github/workflows/common.yml
30-
# with:
31-
# target: ABTestingUnit
28+
spm:
29+
uses: ./.github/workflows/common.yml
30+
with:
31+
target: ABTestingUnit
3232

33-
# catalyst:
34-
# uses: ./.github/workflows/common_catalyst.yml
35-
# with:
36-
# product: FirebaseABTesting
37-
# target: FirebaseABTesting-Unit-unit
33+
catalyst:
34+
uses: ./.github/workflows/common_catalyst.yml
35+
with:
36+
product: FirebaseABTesting
37+
target: FirebaseABTesting-Unit-unit
3838

39-
# pod_lib_lint:
40-
# uses: ./.github/workflows/common_cocoapods.yml
41-
# with:
42-
# product: FirebaseABTesting
39+
pod_lib_lint:
40+
uses: ./.github/workflows/common_cocoapods.yml
41+
with:
42+
product: FirebaseABTesting
4343

4444
quickstart:
4545
uses: ./.github/workflows/common_quickstart.yml
@@ -51,41 +51,39 @@ jobs:
5151
secrets:
5252
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
5353

54-
# quickstart-ftl-cron-only:
55-
# # Don't run on private repo.
56-
# if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
54+
quickstart-ftl-cron-only:
55+
# Don't run on private repo.
56+
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
5757

58-
# env:
59-
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
60-
# runs-on: macos-15
61-
# steps:
62-
# - uses: actions/checkout@v4
63-
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
64-
# - uses: actions/setup-python@v5
65-
# with:
66-
# python-version: '3.11'
67-
# - name: Setup quickstart
68-
# env:
69-
# run: scripts/setup_quickstart.sh abtesting
70-
# - name: Install Secret GoogleService-Info.plist
71-
# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-abtesting.plist.gpg \
72-
# quickstart-ios/abtesting/GoogleService-Info.plist "$plist_secret"
73-
# - name: Xcode
74-
# run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
75-
# - name: Build swift quickstart
76-
# env:
77-
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh ABTesting)
78-
# - id: ftl_test
79-
# uses: FirebaseExtended/github-actions/[email protected]
80-
# with:
81-
# credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
82-
# testapp_dir: quickstart-ios/build-for-testing
83-
# test_type: "xctest"
58+
env:
59+
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
60+
runs-on: macos-15
61+
steps:
62+
- uses: actions/checkout@v4
63+
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
64+
- uses: actions/setup-python@v5
65+
with:
66+
python-version: '3.11'
67+
- name: Setup quickstart
68+
run: scripts/setup_quickstart.sh abtesting
69+
- name: Install Secret GoogleService-Info.plist
70+
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-abtesting.plist.gpg \
71+
quickstart-ios/abtesting/GoogleService-Info.plist "$plist_secret"
72+
- name: Xcode
73+
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
74+
- name: Build swift quickstart
75+
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh ABTesting)
76+
- id: ftl_test
77+
uses: FirebaseExtended/github-actions/[email protected]
78+
with:
79+
credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
80+
testapp_dir: quickstart-ios/build-for-testing
81+
test_type: "xctest"
8482

85-
# abtesting-cron-only:
86-
# needs: pod_lib_lint
87-
# uses: ./.github/workflows/common_cocoapods_cron.yml
88-
# with:
89-
# product: FirebaseABTesting
90-
# platforms: '[ "ios", "tvos", "macos" ]'
91-
# flags: '[ "--use-static-frameworks" ]'
83+
abtesting-cron-only:
84+
needs: pod_lib_lint
85+
uses: ./.github/workflows/common_cocoapods_cron.yml
86+
with:
87+
product: FirebaseABTesting
88+
platforms: '[ "ios", "tvos", "macos" ]'
89+
flags: '[ "--use-static-frameworks" ]'

0 commit comments

Comments
 (0)