Skip to content

Commit

Permalink
Fix coverate upload to Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaldvogel committed Jul 5, 2024
1 parent 2db789b commit 72d0b2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
java-version: 21
- name: Build with Gradle
run: ./gradlew build jacocoTestReport
run: ./gradlew jacocoTestReport
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
Expand Down
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ wrapper {
distributionType = Wrapper.DistributionType.ALL
}

jacocoTestReport {
reports {
xml.required = true
}
dependsOn test
}

task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
Expand Down

0 comments on commit 72d0b2b

Please sign in to comment.