Skip to content

Commit

Permalink
build(plc4go): add coverage for sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Apr 24, 2023
1 parent 0f3a330 commit a99de41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plc4go/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@
<configuration>
<buildFlags>
<flag>-v</flag>
<flag>-coverprofile=target/coverage.out</flag>
</buildFlags>
<outLogFile>test-out-verbose.log</outLogFile>
<ignoreErrorExitCode>true</ignoreErrorExitCode>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<!-- Exclude all generated code -->
<sonar.exclusions>**/generated-sources</sonar.exclusions>
<sonar.cfamily.build-wrapper-output>${project.basedir}/plc4c/target/build-wrapper-output</sonar.cfamily.build-wrapper-output>
<sonar.go.coverage.reportPaths>${project.basedir}/plc4go/target/coverage.out</sonar.go.coverage.reportPaths>

<plc4x-code-generation.version>1.7.0-SNAPSHOT</plc4x-code-generation.version>

Expand Down

0 comments on commit a99de41

Please sign in to comment.