mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-01 22:19:18 +02:00
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:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user