Skip to content

Commit

Permalink
test: get Jacoco report when running mvn test
Browse files Browse the repository at this point in the history
  • Loading branch information
teleivo committed Oct 10, 2024
1 parent ec764e1 commit 4972b23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dhis-2/dhis-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
<goals>
<goal>report-aggregate</goal>
</goals>
<phase>verify</phase>
<phase>test</phase>
</execution>
</executions>
</plugin>
Expand Down
8 changes: 8 additions & 0 deletions dhis-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,14 @@ jasperreports.version=${jasperreports.version}
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- bind it to test instead of default verify so we get coverage reports when only running mvn test -->
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit 4972b23

Please sign in to comment.