This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Commit 036a1f3 1 parent bd15d43 commit 036a1f3 Copy full SHA for 036a1f3
File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,14 @@ rm -rf build
11
11
mkdir -p build/native
12
12
13
13
echo " Packaging ${PWD##*/ } with Gradle"
14
- ./gradlew nativeTest nativeBuild & > build/native/output.txt
14
+ # Only run security-kotlin tests to speedup the full build while still testing a Gradle project
15
+ if [[ ${PWD##*/ } == " security-kotlin" ]]
16
+ then
17
+ echo " Performing native testing for ${PWD##*/ } "
18
+ ./gradlew nativeTest nativeBuild & > build/native/output.txt
19
+ else
20
+ ./gradlew nativeBuild & > build/native/output.txt
21
+ fi
15
22
16
23
if [[ -f build/native/${PWD##*/ } ]]
17
24
then
Original file line number Diff line number Diff line change @@ -11,7 +11,15 @@ rm -rf target
11
11
mkdir -p target/native
12
12
13
13
echo " Packaging ${PWD##*/ } with Maven"
14
- mvn -ntp -Pnative package & > target/native/output.txt
14
+ # Only run Petclinic tests to speedup the full build while still testing a complex testing scenario
15
+ if [[ ${PWD##*/ } == petclinic* ]]
16
+ then
17
+ echo " Performing native testing for ${PWD##*/ } "
18
+ mvn -ntp -Pnative package & > target/native/output.txt
19
+ else
20
+ mvn -ntp -DskipTests -Pnative package & > target/native/output.txt
21
+ fi
22
+
15
23
16
24
if [[ -f target/${PWD##*/ } ]]
17
25
then
You can’t perform that action at this time.
0 commit comments