Skip to content

Commit 4ef2a36

Browse files
committed
Change workflow add test logger in
1 parent 3e1a0af commit 4ef2a36

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Grant execute permission for gradlew
2424
run: chmod +x gradlew
2525
- name: All tests excluding iosTest
26-
run: ./gradlew allTests -x iosTest
26+
run: ./gradlew cleanTest test -x compileDebugUnitTestKotlinAndroid -x compileReleaseUnitTestKotlinAndroid -x iosTest
2727
- name: Run Android Instrumented Tests
2828
uses: reactivecircus/android-emulator-runner@v2
2929
with:

build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ buildscript {
1212
jcenter()
1313
google()
1414
gradlePluginPortal()
15+
maven {
16+
url = uri("https://plugins.gradle.org/m2/")
17+
}
1518
}
1619
dependencies {
1720
classpath("com.android.tools.build:gradle:3.6.1")
1821
classpath("de.undercouch:gradle-download-task:4.0.4")
22+
classpath("com.adarshr:gradle-test-logger-plugin:2.0.0")
1923
}
2024
}
2125

@@ -43,12 +47,14 @@ subprojects {
4347

4448
group = "dev.gitlive"
4549

46-
50+
apply(plugin="com.adarshr.test-logger")
51+
4752
repositories {
4853
mavenLocal()
4954
mavenCentral()
5055
google()
5156
jcenter()
57+
5258
}
5359

5460
var shouldSign = true

0 commit comments

Comments
 (0)