Skip to content

Commit aab84c8

Browse files
authored
Add Crashlytics , AppCheck and Installation to size measurement. (#8873)
1 parent f1e6310 commit aab84c8

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/health-metrics-presubmit.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ jobs:
1818
name: Check changed files
1919
outputs:
2020
abtesting_run_job: ${{ steps.check_files.outputs.abtesting_run_job }}
21+
appcheck_run_job: ${{ steps.check_files.outputs.appcheck_run_job }}
2122
auth_run_job: ${{ steps.check_files.outputs.auth_run_job }}
23+
crashlytics_run_job: ${{ steps.check_files.outputs.crashlytics_run_job }}
2224
database_run_job: ${{ steps.check_files.outputs.database_run_job }}
2325
dynamiclinks_run_job: ${{ steps.check_files.outputs.dynamiclinks_run_job }}
2426
firestore_run_job: ${{ steps.check_files.outputs.firestore_run_job }}
2527
functions_run_job: ${{ steps.check_files.outputs.functions_run_job }}
2628
inappmessaging_run_job: ${{ steps.check_files.outputs.inappmessaging_run_job }}
29+
installations_run_job: ${{ steps.check_files.outputs.installations_run_job }}
2730
messaging_run_job: ${{ steps.check_files.outputs.messaging_run_job }}
2831
performance_run_job: ${{ steps.check_files.outputs.performance_run_job }}
2932
remoteconfig_run_job: ${{ steps.check_files.outputs.remoteconfig_run_job }}
@@ -70,12 +73,15 @@ jobs:
7073
- name: Build and test
7174
run: |
7275
FirebaseABTesting=${{ needs.check.outputs.abtesting_run_job }} \
76+
FirebaseAppCheck=${{ needs.check.outputs.appcheck_run_job }} \
7377
FirebaseAuth=${{ needs.check.outputs.auth_run_job }} \
78+
FirebaseCrashlytics=${{ needs.check.outputs.crashlytics_run_job }} \
7479
FirebaseDatabase=${{ needs.check.outputs.database_run_job }} \
7580
FirebaseDynamicLinks=${{ needs.check.outputs.dynamiclinks_run_job }} \
7681
FirebaseFirestore=${{ needs.check.outputs.firestore_run_job }} \
7782
FirebaseFunctions=${{ needs.check.outputs.functions_run_job}} \
7883
FirebaseInAppMessaging=${{ needs.check.outputs.inappmessaging_run_job }} \
84+
FirebaseInstallations=${{ needs.check.outputs.installations_run_job }} \
7985
FirebaseMessaging=${{ needs.check.outputs.messaging_run_job}} \
8086
FirebasePerformance=${{ needs.check.outputs.performance_run_job }} \
8187
FirebaseRemoteConfig=${{ needs.check.outputs.remoteconfig_run_job }} \

scripts/health_metrics/code_coverage_file_list.json

+13
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
"\\.github/workflows/auth\\.yml"
2323
]
2424
},
25+
{
26+
"sdk": "crashlytics",
27+
"filePatterns": [
28+
"^Crashlytics.*",
29+
"FirebaseCrashlytics.podspec"
30+
]
31+
},
2532
{
2633
"sdk": "database",
2734
"filePatterns": [
@@ -70,6 +77,12 @@
7077
"\\.github/workflows/inappmessaging\\.yml"
7178
]
7279
},
80+
{
81+
"sdk": "installations",
82+
"filePatterns": [
83+
"^FirebaseInstallations.*"
84+
]
85+
},
7386
{
7487
"sdk": "messaging",
7588
"filePatterns": [

scripts/health_metrics/create_binary_size_report.sh

+9
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ BINARY_SIZE_SDK=()
3030
if [[ "${POSTSUBMIT}" == true || "${FirebaseABTesting}" == 'true' ]]; then
3131
BINARY_SIZE_SDK+=('FirebaseABTesting')
3232
fi
33+
if [[ "${POSTSUBMIT}" == true || "${FirebaseAppCheck}" == 'true' ]]; then
34+
BINARY_SIZE_SDK+=('FirebaseAppCheck')
35+
fi
3336
if [[ "${POSTSUBMIT}" == true || "${FirebaseAuth}" == 'true' ]]; then
3437
BINARY_SIZE_SDK+=('FirebaseAuth')
3538
fi
39+
if [[ "${POSTSUBMIT}" == true || "${FirebaseCrashlytics}" == 'true' ]]; then
40+
BINARY_SIZE_SDK+=('FirebaseCrashlytics')
41+
fi
3642
if [[ "${POSTSUBMIT}" == true || "${FirebaseDatabase}" == 'true' ]]; then
3743
BINARY_SIZE_SDK+=('FirebaseDatabase')
3844
fi
@@ -48,6 +54,9 @@ fi
4854
if [[ "${POSTSUBMIT}" == true || "${FirebaseInAppMessaging}" == 'true' ]]; then
4955
BINARY_SIZE_SDK+=('FirebaseInAppMessaging')
5056
fi
57+
if [[ "${POSTSUBMIT}" == true || "${FirebaseInstallations}" == 'true' ]]; then
58+
BINARY_SIZE_SDK+=('FirebaseInstallations')
59+
fi
5160
if [[ "${POSTSUBMIT}" == true || "${FirebaseMessaging}" == 'true' ]]; then
5261
BINARY_SIZE_SDK+=('FirebaseMessaging')
5362
fi

0 commit comments

Comments
 (0)