performance-integration-tests.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. # Merge the yml file to master branch for the cron job schedule to be effective.
  2. # Reference: https://github.community/t/on-schedule-per-branch/17525
  3. name: performance-integration-tests
  4. on:
  5. # See cron syntax references:
  6. # - https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
  7. # - https://crontab.guru/
  8. schedule:
  9. # Runs every 4 hours.
  10. # TODO: Validate when the timer starts after job is triggered.
  11. - cron: '0 */4 * * *'
  12. jobs:
  13. # Public repository: Build and run the Integration Tests for the Firebase performance E2E Test App.
  14. performance-integration-tests:
  15. if: github.repository == 'Firebase/firebase-ios-sdk'
  16. env:
  17. plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
  18. runs-on: macos-11
  19. steps:
  20. - uses: actions/checkout@v2
  21. - name: Setup Bundler
  22. run: scripts/setup_bundler.sh
  23. - name: Install Secret GoogleService-Info.plist
  24. run: |
  25. scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Performance/GoogleService-Info_e2e_autopush.plist.gpg \
  26. FirebasePerformance/Tests/FIRPerfE2E/FIRPerfE2EAutopush/GoogleService-Info.plist "$plist_secret"
  27. scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Performance/GoogleService-Info_e2e_prod.plist.gpg \
  28. FirebasePerformance/Tests/FIRPerfE2E/FIRPerfE2EProd/GoogleService-Info.plist "$plist_secret"
  29. - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
  30. run: scripts/third_party/travis/retry.sh scripts/build.sh Performance all integration