ci: 仅对controller进行覆盖率测试

This commit is contained in:
CaptainB 2023-06-01 17:38:53 +08:00 committed by 刘瑞斌
parent 582d676972
commit 9d17e273e9
1 changed files with 10 additions and 0 deletions

10
pom.xml
View File

@ -218,6 +218,16 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<configuration>
<includes>
<include>io/metersphere/*/controller/*Controller.*</include>
</includes>
<excludes>
<exclude>io/metersphere/*/service/**</exclude>
<exclude>io/metersphere/*/mapper/**</exclude>
<exclude>io/metersphere/*/domain/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>