Skip to content

infra.cocoapods.integration #46

infra.cocoapods.integration

infra.cocoapods.integration #46

name: infra.cocoapods.integration
on:
workflow_dispatch:
pull_request:
paths:
- 'IntegrationTesting/CocoapodsIntegrationTest/**'
- '.github/workflows/infra.cocoapods.integration.yml'
- 'Gemfile*'
schedule:
# Run every day at 3am (PDT) / 6am (EDT) - cron uses UTC times
- cron: '0 10 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
tests:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
runs-on: macos-15
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Get realpath
run: brew install coreutils
- name: Build and test
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
with:
timeout_minutes: 20
max_attempts: 3
retry_wait_seconds: 300
command: |
./IntegrationTesting/CocoapodsIntegrationTest/scripts/build_with_environment.sh \
--gemfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Gemfile \
--podfile=./IntegrationTesting/CocoapodsIntegrationTest/TestEnvironments/Cocoapods_multiprojects_frameworks/Podfile