-
Notifications
You must be signed in to change notification settings - Fork 1.7k
41 lines (35 loc) · 1.31 KB
/
sdk.sessions.integration.yml
File metadata and controls
41 lines (35 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Merge the yml file to main branch for the cron job schedule to be effective.
# Reference: https://github.community/t/on-schedule-per-branch/17525
name: sdk.sessions.integration
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
# This configuration file.
- '.github/workflows/sdk.sessions.integration.yml'
- 'FirebaseSessions/Tests/TestApp'
# See cron syntax references:
# - https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
# - https://crontab.guru/
schedule:
# Runs every 4 hours.
- cron: '0 */4 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
# Public repository: Build and run the Integration Tests for the Firebase sessions E2E Test App across all environments.
sessions-integration-tests:
uses: ./.github/workflows/_build.yml
with:
product: Sessions
platform: all
method: integration
setup_command: |
gem install xcpretty
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Sessions/GoogleService-Info_TestApp.plist.gpg \
FirebaseSessions/Tests/TestApp/Shared/GoogleService-Info.plist "$plist_secret"
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}