Skip to content
Snippets Groups Projects
Commit 14fa14d5 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added aggregate option for scoverage

parent 07388f51
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,6 @@
<module>public</module>
<module>protected</module>
<module>external-example</module>
<module>biopet-aggregate</module>
<!--<module>biopet-aggregate</module>-->
</modules>
</project>
......@@ -94,7 +94,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
if (!i.file.exists()) Logging.addError(s"Input file does not exist: ${i.file}")
else if (!i.file.canRead()) Logging.addError(s"Input file can not be read: ${i.file}")
}
this match {
case q: MultiSampleQScript if q.onlySamples.nonEmpty && !q.samples.forall(x => q.onlySamples.contains(x._1)) =>
logger.info("Write report is skipped because sample flag is used")
......
......@@ -51,6 +51,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scoverage.plugin.version>1.1.1</scoverage.plugin.version>
<scalaVersion>2.10.4</scalaVersion>
</properties>
<build>
......@@ -243,14 +244,10 @@
<artifactId>scoverage-maven-plugin</artifactId>
<version>${scoverage.plugin.version}</version>
<configuration>
<scalaVersion>2.10.2</scalaVersion>
<scalaVersion>${scalaVersion}</scalaVersion>
<aggregate>true</aggregate>
<!-- other parameters -->
</configuration>
<executions>
<execution>
<phase>test</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment