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 0fbaef5
Showing 1 changed file with 8 additions and 0 deletions.
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 0fbaef5

Please sign in to comment.