File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
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-prewarm
4
+
5
+ on :
6
+ # See cron syntax references:
7
+ # - https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule
8
+ # - https://crontab.guru/
9
+ schedule :
10
+ # Runs every 2 hours.
11
+ # TODO: Validate when the timer starts after job is triggered.
12
+ - cron : ' 0 */2 * * *'
13
+
14
+ jobs :
15
+
16
+ # Public repository: Build and run the Integration Tests for the Firebase performance E2E Test App.
17
+ performance-integration-tests-prewarm :
18
+ if : github.repository == 'Firebase/firebase-ios-sdk'
19
+ env :
20
+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
21
+ runs-on : macos-11
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ with :
25
+ ref : perfIdentifyPrewarming.customTrace
26
+ - uses : mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
27
+ with :
28
+ cache_key : ${{ matrix.os }}
29
+ - name : Setup Bundler
30
+ run : scripts/setup_bundler.sh
31
+ - name : Install Secret GoogleService-Info.plist
32
+ run : |
33
+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Performance/GoogleService-Info_e2e_autopush.plist.gpg \
34
+ FirebasePerformance/Tests/FIRPerfE2E/FIRPerfE2EAutopush/GoogleService-Info.plist "$plist_secret"
35
+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Performance/GoogleService-Info_e2e_prod.plist.gpg \
36
+ FirebasePerformance/Tests/FIRPerfE2E/FIRPerfE2EProd/GoogleService-Info.plist "$plist_secret"
37
+ - name : BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
38
+ run : scripts/third_party/travis/retry.sh scripts/build.sh Performance all integration
You can’t perform that action at this time.
0 commit comments