performance-integration-tests.yml 1.1 KB

1234567891011121314151617181920212223242526272829
  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. # Build and run the Integration Tests for the Firebase performance E2E Test App.
  14. performance-integration-tests:
  15. # Firebase Performance lives in private repository only currently.
  16. # Remove the check after Firebase Performance is open sourced.
  17. if: github.repository == 'FirebasePrivate/firebase-ios-sdk'
  18. runs-on: macos-latest
  19. steps:
  20. - uses: actions/checkout@v2
  21. with:
  22. ref: perf
  23. - name: Setup Bundler
  24. run: scripts/setup_bundler.sh
  25. - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
  26. run: scripts/third_party/travis/retry.sh scripts/build.sh Performance all integration