Skip to content

Commit

Permalink
Merge branch 'master' into upgrade-agp
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Oct 6, 2024
2 parents faffb04 + 1454460 commit 7b601c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
check-lint:
name: Lint
timeout-minutes: 5
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
Expand Down Expand Up @@ -66,7 +66,9 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Run tests
run: ./gradlew --no-daemon clean jacocoTestReport
- name: Report test coverage
run: |
pip install --user codecov
codecov
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
# Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ buildscript {
ext.kotlin_version = "1.9.20"
ext.jacocoVersion = '0.8.12'
ext.spotlessVersion = '6.25.0'

repositories {
google()
mavenCentral()
Expand Down
3 changes: 3 additions & 0 deletions parse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ afterEvaluate {
}

//endregion
//region Testing

tasks.withType(JacocoReport).configureEach {
jacoco.toolVersion = rootProject.ext.jacocoVersion
Expand All @@ -102,3 +103,5 @@ tasks.withType(JacocoReport).configureEach {
tasks.withType(Test).configureEach {
useJUnitPlatform()
}

//endregion

0 comments on commit 7b601c5

Please sign in to comment.