Skip to content

Commit fc6f836

Browse files
committed
fix: Updated for including test coverage in Sonar analysis.
1 parent b7d6c2d commit fc6f836

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292
uses: actions/upload-artifact@v2
9393
with:
9494
name: target
95-
path: ${{ github.workspace }}/target
95+
path: |
96+
${{ github.workspace }}/target
97+
${{ github.workspace }}/reports
9698
9799
analysis:
98100
needs:

lombok.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lombok.addLombokGeneratedAnnotation = true

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<jackson.version>2.13.1</jackson.version>
4040
<sonar.organization>wasiqb-github</sonar.organization>
4141
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
42+
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
4243
</properties>
4344

4445
<dependencies>

0 commit comments

Comments
 (0)