1
0

[HUDI-627] Aggregate code coverage and publish to codecov.io during CI (#1347)

This commit is contained in:
Ramachandran M S
2020-02-27 13:54:20 -08:00
committed by GitHub
parent 71170fafe7
commit acf359c834
7 changed files with 43 additions and 7 deletions

View File

@@ -155,6 +155,24 @@
</execution>
</executions>
</plugin>
<!-- Adding test coverage report aggregation to this module as this seems to cover all of the required dependencies -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
<configuration>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
@@ -193,6 +211,11 @@
<artifactId>hudi-spark_${scala.binary.version}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hudi</groupId>
<artifactId>hudi-timeline-service</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Parquet -->
<dependency>