File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,8 @@ buildscript {
17
17
dependencies {
18
18
classpath ' com.android.tools.build:gradle:3.0.1'
19
19
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
20
+ classpath ' com.vanniktech:gradle-android-junit-jacoco-plugin:0.11.0'
20
21
}
21
- }
22
+ }
23
+
24
+ apply plugin : ' com.vanniktech.android.junit.jacoco'
Original file line number Diff line number Diff line change 25
25
- run :
26
26
name : Run Unit Tests
27
27
command : ./gradlew testCiDebugUnitTest --no-daemon
28
+ - store_artifacts :
29
+ path : Calendula/build/reports/
30
+ destination : reports
31
+ - store_test_results :
32
+ path : Calendula/build/test-results
28
33
# - run:
29
34
# name: Launch Android Emulator
30
35
# command: export LD_LIBRARY_PATH=${ANDROID_HOME}/emulator/lib64:${ANDROID_HOME}/emulator/lib64/qt/lib && emulator64-arm -avd test -noaudio -no-boot-anim -no-window -accel on
38
43
# - run:
39
44
# name: Run Integration Tests
40
45
# command: ./gradlew connectedCiDebugAndroidTest --no-daemon
46
+ - run :
47
+ name : Generate Coverage Report
48
+ command : ./gradlew jacocoTestReportCiDebug --no-daemon
41
49
- store_artifacts :
42
- path : Calendula/build/reports
50
+ path : Calendula/build/reports/
43
51
destination : reports
44
- - store_test_results :
45
- path : Calendula/build/test-results
You can’t perform that action at this time.
0 commit comments