Skip to content

Commit

Permalink
Update quickstart tests based on quickstart-ios/issues/1260 (#8568)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Aug 24, 2021
1 parent 4d51850 commit 6751623
Show file tree
Hide file tree
Showing 16 changed files with 67 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Test swift quickstart
env:
LEGACY: true
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh ABTesting)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh ABTesting true)

abtesting-cron-only:
# Don't run on private repo.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication false)

auth-cron-only:
# Don't run on private repo.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ jobs:
# Set the deployed pod location of run and upload-symbols with the development pod version.
cp Crashlytics/run quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
cp Crashlytics/upload-symbols quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics)
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics true)
env:
LEGACY: true
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics true swift)
env:
LEGACY: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)

pod-lib-lint:
# Don't run on private repo unless it is a PR.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true)
- name: Test swift quickstart
if: ${{ always() }}
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true swift)

podspec-presubmit:
# Don't run on private repo unless it is a PR.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)

podspec-presubmit:
# Don't run on private repo unless it is a PR.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ jobs:
run: sed -i '' 's/REVERSED_CLIENT_ID/com.googleusercontent.apps.1025801074639-6p6ebi8amuklcjrto20gvpe295smm8u6/' quickstart-ios/functions/FunctionsExample/Info.plist
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)

functions-cron-only:
# Don't run on private repo.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/inappmessaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true swift)

podspec-presubmit:
# Don't run on private repo unless it is a PR.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ jobs:
- name: Copy mock plist
run: cp quickstart-ios/mock-GoogleService-Info.plist quickstart-ios/installations/GoogleService-Info.plist
- name: Test objc quickstart
run: scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations
run: scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations true
- name: Test swift quickstart
run: scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations swift
run: scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Installations true swift

installations-cron-only:
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false swift)

pod-lib-lint-watchos:
# Don't run on private repo unless it is a PR.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true)
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true)

spm:
# Don't run on private repo unless it is a PR.
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Test swift quickstart
env:
LEGACY: true
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh ABTesting)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh ABTesting true)
- name: Remove data before upload
env:
LEGACY: true
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication false)
- name: Remove data before upload
run: scripts/remove_data.sh authentication release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -204,11 +204,11 @@ jobs:
# Set the deployed pod location of run and upload-symbols with the development pod version.
cp Crashlytics/run quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
cp Crashlytics/upload-symbols quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics)
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics true)
- name: Test swift quickstart
env:
LEGACY: true
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Crashlytics true swift)
- name: Remove data before upload
env:
LEGACY: true
Expand Down Expand Up @@ -246,9 +246,9 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
- name: Remove data before upload
run: scripts/remove_data.sh database release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -289,10 +289,10 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true)
- name: Test swift quickstart
if: ${{ always() }}
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true swift)
- name: Remove data before upload
run: scripts/remove_data.sh dynamiclinks release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)
- name: Remove data before upload
run: scripts/remove_data.sh firestore release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -368,10 +368,10 @@ jobs:
run: sed -i '' 's/REVERSED_CLIENT_ID/com.googleusercontent.apps.1025801074639-6p6ebi8amuklcjrto20gvpe295smm8u6/' quickstart-ios/functions/FunctionsExample/Info.plist
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
- name: Remove data before upload
run: scripts/remove_data.sh functions release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -408,10 +408,10 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true swift)
- name: Remove data before upload
run: scripts/remove_data.sh inappmessaging release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -448,10 +448,10 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false)
- name: Test swift quickstart
run: ([ -z $plist_secret ] ||
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging swift)
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false swift)
- name: Remove data before upload
run: scripts/remove_data.sh messaging release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -485,7 +485,7 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test Swift Quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Config)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Config true)
- name: Remove data before upload
run: scripts/remove_data.sh config release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -521,9 +521,9 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage true swift)
- name: Remove data before upload
run: scripts/remove_data.sh storage release_testing
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -560,9 +560,9 @@ jobs:
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
- name: Test objc quickstart
run: |
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance)
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true)
- name: Test swift quickstart
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance swift)
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true swift)
- name: Remove data before upload
run: scripts/remove_data.sh performance release_testing
- uses: actions/upload-artifact@v2
Expand Down
Loading

0 comments on commit 6751623

Please sign in to comment.