Skip to content

Commit 7b601c5

Browse files
authored
Merge branch 'master' into upgrade-agp
2 parents faffb04 + 1454460 commit 7b601c5

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ buildscript {
22
ext.kotlin_version = "1.9.20"
33
ext.jacocoVersion = '0.8.12'
44
ext.spotlessVersion = '6.25.0'
5+
56
repositories {
67
google()
78
mavenCentral()

parse/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ afterEvaluate {
8989
}
9090

9191
//endregion
92+
//region Testing
9293

9394
tasks.withType(JacocoReport).configureEach {
9495
jacoco.toolVersion = rootProject.ext.jacocoVersion
@@ -102,3 +103,5 @@ tasks.withType(JacocoReport).configureEach {
102103
tasks.withType(Test).configureEach {
103104
useJUnitPlatform()
104105
}
106+
107+
//endregion

0 commit comments

Comments
 (0)