Skip to content

Commit 81a76c2

Browse files
authored
Turn RTDB quickstart testing back on (#10548)
1 parent fd45f86 commit 81a76c2

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/database.yml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,25 @@ jobs:
9292
- name: Setup project and Build for Catalyst
9393
run: scripts/test_catalyst.sh FirebaseDatabase test FirebaseDatabase-Unit-unit
9494

95-
# Disable until FirebaseUI is updated to accept Firebase 9 and quickstart is updated to accept
96-
# Firebase UI 12
97-
# quickstart:
98-
# # Don't run on private repo unless it is a PR.
99-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
100-
# env:
101-
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
102-
# signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
103-
# runs-on: macos-12
104-
# steps:
105-
# - uses: actions/checkout@v3
106-
# - name: Setup quickstart
107-
# run: scripts/setup_quickstart.sh database
108-
# - name: Install Secret GoogleService-Info.plist
109-
# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-database.plist.gpg \
110-
# quickstart-ios/database/GoogleService-Info.plist "$plist_secret"
111-
# - name: Test objc quickstart
112-
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
113-
# - name: Test swift quickstart
114-
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
95+
quickstart:
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'
98+
env:
99+
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
100+
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
101+
runs-on: macos-12
102+
steps:
103+
- uses: actions/checkout@v3
104+
- uses: ruby/setup-ruby@v1
105+
- name: Setup quickstart
106+
run: scripts/setup_quickstart.sh database
107+
- name: Install Secret GoogleService-Info.plist
108+
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-database.plist.gpg \
109+
quickstart-ios/database/GoogleService-Info.plist "$plist_secret"
110+
- name: Test objc quickstart
111+
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
112+
- name: Test swift quickstart
113+
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
115114

116115
pod-lib-lint:
117116
# Don't run on private repo unless it is a PR.

0 commit comments

Comments
 (0)