File tree 3 files changed +14
-11
lines changed
3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 66
66
key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
67
67
- name : Run tests
68
68
run : ./gradlew --no-daemon clean jacocoTestReport
69
- - name : Report test coverage
70
- run : |
71
- pip install --user codecov
72
- codecov
69
+ - name : Upload code coverage
70
+ uses : codecov/codecov-action@v4
71
+ with :
72
+ # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129
73
+ fail_ci_if_error : false
74
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
ext. kotlin_version = " 1.7.10"
3
- ext. jacocoVersion = ' 0.8.7 '
3
+ ext. jacocoVersion = ' 0.8.12 '
4
4
repositories {
5
5
google()
6
6
mavenCentral()
Original file line number Diff line number Diff line change @@ -78,21 +78,22 @@ afterEvaluate {
78
78
apply plugin : " com.dicedmelon.gradle.jacoco-android"
79
79
80
80
jacoco {
81
- toolVersion = " 0.8.7 "
81
+ toolVersion = " 0.8.12 "
82
82
}
83
83
84
84
tasks. withType(Test ) {
85
85
jacoco. includeNoLocationClasses = true
86
86
jacoco. excludes = [' jdk.internal.*' ]
87
87
testLogging {
88
- events " failed"
88
+ events " SKIPPED" , " FAILED"
89
+ showStandardStreams true
90
+ showExceptions true
91
+ showCauses true
92
+ showStackTraces true
93
+ exceptionFormat " full"
89
94
}
90
95
}
91
96
92
- tasks. withType(Test ) {
93
- useJUnitPlatform()
94
- }
95
-
96
97
jacocoAndroidUnitTestReport {
97
98
csv. enabled false
98
99
html. enabled true
You can’t perform that action at this time.
0 commit comments