|
|
@@ -94,7 +94,6 @@ jobs:
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
- - uses: actions/checkout@v3
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
- name: Setup quickstart
|
|
|
run: scripts/setup_quickstart.sh functions
|
|
|
@@ -110,6 +109,38 @@ jobs:
|
|
|
run: ([ -z $plist_secret ] ||
|
|
|
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
|
|
|
|
|
|
+ quickstart-ftl-cron-only:
|
|
|
+ # Don't run on private repo
|
|
|
+ if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
|
|
|
+ env:
|
|
|
+ plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
|
|
|
+ signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
|
|
|
+ LEGACY: true
|
|
|
+ runs-on: macos-12
|
|
|
+
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v3
|
|
|
+ - uses: ruby/setup-ruby@v1
|
|
|
+ - name: Setup quickstart
|
|
|
+ run: scripts/setup_quickstart.sh functions
|
|
|
+ - name: install secret googleservice-info.plist
|
|
|
+ run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-functions.plist.gpg \
|
|
|
+ quickstart-ios/functions/GoogleService-Info.plist "$plist_secret"
|
|
|
+ - name: Setup custom URL scheme
|
|
|
+ run: sed -i '' 's/REVERSED_CLIENT_ID/com.googleusercontent.apps.1025801074639-6p6ebi8amuklcjrto20gvpe295smm8u6/' quickstart-ios/functions/LegacyFunctionsQuickstart/FunctionsExample/Info.plist
|
|
|
+ - name: Build objc quickstart
|
|
|
+ run: ([ -z $plist_secret ] ||
|
|
|
+ scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Functions)
|
|
|
+ - name: Build swift quickstart
|
|
|
+ run: ([ -z $plist_secret ] ||
|
|
|
+ scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Functions swift)
|
|
|
+ - id: ftl_test
|
|
|
+ uses: FirebaseExtended/github-actions/firebase-test-lab@v1.2
|
|
|
+ with:
|
|
|
+ credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }}
|
|
|
+ testapp_dir: quickstart-ios/build-for-testing
|
|
|
+ test_type: "xctest"
|
|
|
+
|
|
|
functions-cron-only:
|
|
|
# Don't run on private repo.
|
|
|
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
|