[MINOR] Prevent scalatest plugin from running in non-UTs (#1897)
This commit is contained in:
@@ -132,7 +132,7 @@
|
|||||||
<artifactId>scalatest-maven-plugin</artifactId>
|
<artifactId>scalatest-maven-plugin</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skipTests>${skipTests}</skipTests>
|
<skipTests>${skipUTs}</skipTests>
|
||||||
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
||||||
<junitxml>.</junitxml>
|
<junitxml>.</junitxml>
|
||||||
<filereports>TestSuite.txt</filereports>
|
<filereports>TestSuite.txt</filereports>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ sparkVersion=2.4.4
|
|||||||
hadoopVersion=2.7
|
hadoopVersion=2.7
|
||||||
|
|
||||||
if [ "$mode" = "unit" ]; then
|
if [ "$mode" = "unit" ]; then
|
||||||
mvn clean install -Punit-tests -DskipTests -q
|
mvn clean install -DskipTests -q
|
||||||
echo "Running Unit Tests"
|
echo "Running Unit Tests"
|
||||||
mvn test -Punit-tests -pl "$modules" -B
|
mvn test -Punit-tests -pl "$modules" -B
|
||||||
elif [ "$mode" = "functional" ]; then
|
elif [ "$mode" = "functional" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user