Skip to content

Commit eb7142a

Browse files
authored
Merge branch 'master' into master
2 parents 6887cfe + 1454460 commit eb7142a

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
check-lint:
1313
name: Lint
14-
timeout-minutes: 5
14+
timeout-minutes: 10
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Fetch Sources
@@ -66,7 +66,9 @@ jobs:
6666
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
6767
- name: Run tests
6868
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 }}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext.kotlin_version = "1.7.10"
3-
ext.jacocoVersion = '0.8.7'
3+
ext.jacocoVersion = '0.8.12'
44
repositories {
55
google()
66
mavenCentral()

parse/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,22 @@ afterEvaluate {
8080
apply plugin: "com.dicedmelon.gradle.jacoco-android"
8181

8282
jacoco {
83-
toolVersion = "0.8.7"
83+
toolVersion = "0.8.12"
8484
}
8585

8686
tasks.withType(Test) {
8787
jacoco.includeNoLocationClasses = true
8888
jacoco.excludes = ['jdk.internal.*']
8989
testLogging {
90-
events "failed"
90+
events "SKIPPED", "FAILED"
91+
showStandardStreams true
92+
showExceptions true
93+
showCauses true
94+
showStackTraces true
95+
exceptionFormat "full"
9196
}
9297
}
9398

94-
tasks.withType(Test) {
95-
useJUnitPlatform()
96-
}
97-
9899
jacocoAndroidUnitTestReport {
99100
csv.enabled false
100101
html.enabled true

0 commit comments

Comments
 (0)