[#745] Use faster Firebase test lab devices

This commit is contained in:
Carter Jernigan 2023-02-09 06:57:24 -05:00 committed by Carter Jernigan
parent ec7eb3804e
commit 9f9ee0fcc1
3 changed files with 7 additions and 7 deletions

View File

@ -294,7 +294,7 @@ jobs:
# Because Fulladle doesn't allow Test Orchestrator to be enabled/disabled for a specific submodule, it must be enabled for all modules # Because Fulladle doesn't allow Test Orchestrator to be enabled/disabled for a specific submodule, it must be enabled for all modules
ORG_GRADLE_PROJECT_IS_USE_TEST_ORCHESTRATOR: true ORG_GRADLE_PROJECT_IS_USE_TEST_ORCHESTRATOR: true
run: | run: |
./gradlew runFlank --parallel ./gradlew runFlank
- name: Collect Artifacts - name: Collect Artifacts
if: ${{ always() }} if: ${{ always() }}
timeout-minutes: 1 timeout-minutes: 1

View File

@ -298,7 +298,7 @@ fladle {
// Firebase Test Lab has min and max values that might differ from our project's // Firebase Test Lab has min and max values that might differ from our project's
// These are determined by `gcloud firebase test android models list` // These are determined by `gcloud firebase test android models list`
@Suppress("MagicNumber", "PropertyName", "VariableNaming") @Suppress("MagicNumber", "PropertyName", "VariableNaming")
val FIREBASE_TEST_LAB_MIN_SDK = 23 val FIREBASE_TEST_LAB_MIN_SDK = 27 // Minimum for Pixel2.arm device
@Suppress("MagicNumber", "PropertyName", "VariableNaming") @Suppress("MagicNumber", "PropertyName", "VariableNaming")
val FIREBASE_TEST_LAB_MAX_SDK = 33 val FIREBASE_TEST_LAB_MAX_SDK = 33
@ -337,7 +337,7 @@ fladle {
testTimeout.set("3m") testTimeout.set("3m")
devices.addAll( devices.addAll(
mapOf("model" to "Pixel2", "version" to minSdkVersion), mapOf("model" to "Pixel2.arm", "version" to minSdkVersion),
mapOf("model" to "Pixel2.arm", "version" to targetSdkVersion) mapOf("model" to "Pixel2.arm", "version" to targetSdkVersion)
) )

View File

@ -145,7 +145,7 @@ fladle {
// Firebase Test Lab has min and max values that might differ from our project's // Firebase Test Lab has min and max values that might differ from our project's
// These are determined by `gcloud firebase test android models list` // These are determined by `gcloud firebase test android models list`
@Suppress("MagicNumber", "PropertyName", "VariableNaming") @Suppress("MagicNumber", "PropertyName", "VariableNaming")
val FIREBASE_TEST_LAB_MIN_SDK = 23 val FIREBASE_TEST_LAB_MIN_SDK = 27 // Minimum for Pixel2.arm device
@Suppress("MagicNumber", "PropertyName", "VariableNaming") @Suppress("MagicNumber", "PropertyName", "VariableNaming")
val FIREBASE_TEST_LAB_MAX_SDK = 33 val FIREBASE_TEST_LAB_MAX_SDK = 33
@ -171,7 +171,7 @@ fladle {
} }
devices.addAll( devices.addAll(
mapOf("model" to "Pixel2", "version" to minSdkVersion), mapOf("model" to "Pixel2.arm", "version" to minSdkVersion),
mapOf("model" to "Pixel2.arm", "version" to targetSdkVersion) mapOf("model" to "Pixel2.arm", "version" to targetSdkVersion)
) )
@ -187,8 +187,8 @@ fladle {
flankVersion.set(libs.versions.flank.get()) flankVersion.set(libs.versions.flank.get())
filesToDownload.set(listOf( filesToDownload.set(listOf(
"*/matrix_*/*test_results_merged\\.xml", ".*/matrix_.*/.*test_results_merged\\.xml",
"*/matrix_*/*/artifacts/sdcard/googletest/test_outputfiles/*\\.png" ".*/matrix_.*/.*/artifacts/sdcard/googletest/test_outputfiles/.*\\.png"
)) ))
directoriesToPull.set(listOf( directoriesToPull.set(listOf(