ci: GitHub actions workflow (#8)
* chore: Create GitHub actions workflow to upload debug APK on commit * build: Log test results while running tests with gradlew * ci: update jdk version used, only test debug build * ci: use correct order of execution of tasks (build, test, deploy)
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
|
||||
plugins {
|
||||
@@ -15,6 +17,14 @@ plugins {
|
||||
alias(libs.plugins.ksp)
|
||||
}
|
||||
|
||||
tasks.withType(Test::class) {
|
||||
testLogging {
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
|
||||
showStandardStreams = true
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "org.nsh07.pomodoro"
|
||||
compileSdk = 36
|
||||
|
||||
Reference in New Issue
Block a user