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:
Nishant Mishra
2025-07-14 22:23:26 +05:30
committed by GitHub
parent 3393b8088b
commit 84b98be91c
2 changed files with 41 additions and 0 deletions

View File

@@ -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