chore(ci): Refactor and optimize GitHub Actions workflows (#4252)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich
2026-01-17 19:52:04 -06:00
committed by GitHub
parent d9bc79b396
commit cf48d6c1c1
6 changed files with 144 additions and 59 deletions
-32
View File
@@ -47,36 +47,4 @@ plugins {
dependencies {
dokkaPlugin(libs.dokka.android.documentation.plugin)
}
val debugTests = listOf(
"testDebugUnitTest",
"testFdroidDebugUnitTest",
"testGoogleDebugUnitTest"
)
tasks.register("runAllDebugTests") {
group = "verification"
description = "Runs all unit tests for debug variants and flavors"
dependsOn(subprojects.map { subproject ->
subproject.tasks.matching { task ->
task.name in debugTests
}
})
}
val connectedTests = listOf(
"connectedDebugAndroidTest",
"connectedFdroidDebugAndroidTest",
"connectedGoogleDebugAndroidTest"
)
tasks.register("runAllConnectedDebugTests") {
group = "verification"
description = "Runs all connected tests for debug variants and flavors"
dependsOn(subprojects.map { subproject ->
subproject.tasks.matching { task ->
task.name in connectedTests
}
})
}