Skip to content

Commit

Permalink
Merge pull request #132 from linyimin0812/test/20231215_test_coverage_1
Browse files Browse the repository at this point in the history
test: add spring-profiler-api test coverage
  • Loading branch information
linyimin0812 authored Dec 16, 2023
2 parents 899f416 + 9b87ee6 commit a415fea
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions coverage-report-aggregate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@
<artifactId>spring-async-bean-starter</artifactId>
<version>${revision}</version>
</dependency>

<dependency>
<groupId>io.github.linyimin0812</groupId>
<artifactId>spring-profiler-api</artifactId>
<version>${revision}</version>
</dependency>

</dependencies>
<build>
Expand Down
26 changes: 26 additions & 0 deletions spring-profiler-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,32 @@
<outputDirectory>${output.directory}</outputDirectory>
</configuration>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</project>

0 comments on commit a415fea

Please sign in to comment.