Fix skipTests build flag (#12716)

* fix skipTests

* Skip console UTs with skipTests

* Use skipTests in skip-tests profile
This commit is contained in:
Rohan Garg 2022-06-30 10:29:26 +05:30 committed by GitHub
parent 068bea6334
commit c09b5a2294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -132,8 +132,9 @@
the "new" integration tests. To skip just the unit tests (but run the
new integration tests by setting the required profile), use -DskipUTs=true.
-->
<skipUTs>false</skipUTs>
<skipITs>false</skipITs>
<skipTests>false</skipTests>
<skipUTs>${skipTests}</skipUTs>
<skipITs>${skipTests}</skipITs>
</properties>
<modules>
@ -1935,8 +1936,7 @@
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<skipUTs>true</skipUTs> <!-- Skip only UTs -->
<skipITs>true</skipITs> <!-- ITs are also behind a profile -->
<skipTests>true</skipTests> <!-- skips both UTs and ITs -->
<jacoco.skip>true</jacoco.skip>
</properties>
</profile>

View File

@ -45,6 +45,7 @@
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<skip>${druid.console.skip}</skip>
<skipTests>${skipUTs}</skipTests>
</configuration>
<executions>
<execution>