Include coverage statistics for the main module too (#2761)

* Include coverage statistics for the main module too

* Fix execution data path for main module
This commit is contained in:
Antonin Delpeuch 2020-06-19 22:45:49 +02:00 committed by GitHub
parent 9c7d4c2774
commit 4966e448d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# OpenRefine # OpenRefine
[![Join the chat at https://gitter.im/OpenRefine/OpenRefine](https://badges.gitter.im/OpenRefine/OpenRefine.svg)](https://gitter.im/OpenRefine/OpenRefine?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/OpenRefine/OpenRefine.svg?branch=master)](https://travis-ci.org/OpenRefine/OpenRefine) [![Coverage Status](https://coveralls.io/repos/github/OpenRefine/OpenRefine/badge.svg?branch=coveralls)](https://coveralls.io/github/OpenRefine/OpenRefine?branch=coveralls) [![Translation progress](https://hosted.weblate.org/widgets/openrefine/-/svg-badge.svg)](https://hosted.weblate.org/engage/openrefine/?utm_source=widget) [![Total alerts](https://img.shields.io/lgtm/alerts/g/OpenRefine/OpenRefine.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/OpenRefine/OpenRefine/alerts/) [![Join the chat at https://gitter.im/OpenRefine/OpenRefine](https://badges.gitter.im/OpenRefine/OpenRefine.svg)](https://gitter.im/OpenRefine/OpenRefine?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/OpenRefine/OpenRefine.svg?branch=master)](https://travis-ci.org/OpenRefine/OpenRefine) [![Coverage Status](https://coveralls.io/repos/github/OpenRefine/OpenRefine/badge.svg)](https://coveralls.io/github/OpenRefine/OpenRefine) [![Translation progress](https://hosted.weblate.org/widgets/openrefine/-/svg-badge.svg)](https://hosted.weblate.org/engage/openrefine/?utm_source=widget) [![Total alerts](https://img.shields.io/lgtm/alerts/g/OpenRefine/OpenRefine.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/OpenRefine/OpenRefine/alerts/)
OpenRefine is a Java-based power tool that allows you to load data, understand it, OpenRefine is a Java-based power tool that allows you to load data, understand it,
clean it up, reconcile it, and augment it with data coming from clean it up, reconcile it, and augment it with data coming from

View File

@ -144,7 +144,7 @@
</goals> </goals>
<phase>process-test-resources</phase> <phase>process-test-resources</phase>
<configuration> <configuration>
<destFile>${project.build.directory}/report/jacoco.exec</destFile> <destFile>${project.build.directory}/report/${project.name}.exec</destFile>
<propertyName>surefireArgs</propertyName> <propertyName>surefireArgs</propertyName>
</configuration> </configuration>
</execution> </execution>
@ -154,7 +154,7 @@
<goal>report</goal> <goal>report</goal>
</goals> </goals>
<configuration> <configuration>
<dataFile>${project.build.directory}/jacoco.exec</dataFile> <dataFile>${project.build.directory}/report/${project.name}.exec</dataFile>
<outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory> <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
</configuration> </configuration>
</execution> </execution>
@ -168,10 +168,9 @@
<destFile>${project.build.directory}/report/jacoco-merged.exec</destFile> <destFile>${project.build.directory}/report/jacoco-merged.exec</destFile>
<fileSets> <fileSets>
<fileSet> <fileSet>
<directory>${project.build.directory}/report</directory> <directory>main/target/report</directory>
<includes> <includes>
<include>jacoco.exec</include> <include>*.exec</include>
<include>jacoco-merged.exec</include>
</includes> </includes>
</fileSet> </fileSet>
<fileSet> <fileSet>