File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
check-lint :
13
13
name : Lint
14
- timeout-minutes : 5
14
+ timeout-minutes : 10
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Fetch Sources
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 @@ -80,21 +80,22 @@ afterEvaluate {
80
80
apply plugin : " com.dicedmelon.gradle.jacoco-android"
81
81
82
82
jacoco {
83
- toolVersion = " 0.8.7 "
83
+ toolVersion = " 0.8.12 "
84
84
}
85
85
86
86
tasks. withType(Test ) {
87
87
jacoco. includeNoLocationClasses = true
88
88
jacoco. excludes = [' jdk.internal.*' ]
89
89
testLogging {
90
- events " failed"
90
+ events " SKIPPED" , " FAILED"
91
+ showStandardStreams true
92
+ showExceptions true
93
+ showCauses true
94
+ showStackTraces true
95
+ exceptionFormat " full"
91
96
}
92
97
}
93
98
94
- tasks. withType(Test ) {
95
- useJUnitPlatform()
96
- }
97
-
98
99
jacocoAndroidUnitTestReport {
99
100
csv. enabled false
100
101
html. enabled true
You can’t perform that action at this time.
0 commit comments