Skip to content

Commit

Permalink
chore(ci): ignore metrics package in test coverage calculation (#534)
Browse files Browse the repository at this point in the history
Signed-off-by: SSpirits <[email protected]>
  • Loading branch information
ShadowySpirits authored Nov 1, 2023
1 parent a9b0f2f commit 1b3b3f0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions s3stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,34 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.10</version>
<configuration>
<excludes>
<exclude>"**/config/**"</exclude>
<exclude>"**/model/**"</exclude>
<exclude>"**/generated/**"</exclude>
<exclude>"**/metrics/**"</exclude>
<exclude>**/*Exception*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 1b3b3f0

Please sign in to comment.