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