heartbeat_logging.yml 806 B

12345678910111213141516171819202122232425262728
  1. name: heartbeat_logging
  2. on:
  3. pull_request:
  4. paths:
  5. - 'HeartbeatLogging**'
  6. - '.github/workflows/heartbeat_logging.yml'
  7. - 'Gemfile*'
  8. # TODO(nickcooke): Schedule cron job.
  9. jobs:
  10. # TODO(nickcooke): Configure `CocoaPods` job(s).
  11. spm:
  12. # Don't run on private repo unless it is a PR.
  13. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
  14. runs-on: macos-11
  15. strategy:
  16. matrix:
  17. target: [iOS, tvOS, macOS, catalyst, watchOS]
  18. steps:
  19. - uses: actions/checkout@v2
  20. - name: Initialize xcodebuild
  21. run: scripts/setup_spm_tests.sh
  22. - name: HeartbeatLoggingTests
  23. run: scripts/third_party/travis/retry.sh ./scripts/build.sh HeartbeatLoggingTests ${{ matrix.target }} spm