Skip to content

Commit

Permalink
ci(main): #175 add seaside source for sonar analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Marthym committed Aug 19, 2023
1 parent d6be3ea commit e2fbac4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: SonarCloud
on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
<sonar.organization>ght1pc9kc-fr</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
<sonar.sources>.</sonar.sources>
<sonar.inclusions>src/main/**</sonar.inclusions>
<sonar.coverage.jacoco.xmlReportPaths>**/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.coverage.exclusions>**/*.html</sonar.coverage.exclusions>
<sonar.exclusions>**/*.html</sonar.exclusions>
Expand Down
9 changes: 8 additions & 1 deletion seaside/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,12 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>sonar</id>
<properties>
<sonar.inclusions>src/**</sonar.inclusions>
</properties>
</profile>
</profiles>
</project>

0 comments on commit e2fbac4

Please sign in to comment.