[#745] Use faster Firebase test lab devices
This commit is contained in:
parent
ec7eb3804e
commit
9f9ee0fcc1
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue