[CI] Skip samples during test target [skip ci]

This commit sets the sample tests to not run as part of the
regular 'test' task. We only want the sample tests to run during the
"check-samples" step.
This commit is contained in:
Chris Bono
2024-02-20 19:39:18 -06:00
parent ec62bc76b1
commit 23595e9c1c
9 changed files with 21 additions and 0 deletions

View File

@@ -57,4 +57,5 @@ jobs:
-PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" \
-PspringPulsarVersion="$VERSION" \
-PspringBootVersion="$BOOT_VERSION" \
-PsampleTests \
:runAllSampleTests

View File

@@ -98,6 +98,7 @@ jobs:
-PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" \
-PspringPulsarVersion="$VERSION" \
-PspringBootVersion="$BOOT_VERSION" \
-PsampleTests \
:runAllSampleTests
scan:
needs: [prerequisites]

View File

@@ -89,6 +89,7 @@ jobs:
-PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" \
-PspringPulsarVersion="$VERSION" \
-PspringBootVersion="$BOOT_VERSION" \
-PsampleTests \
:runAllSampleTests
scan:
needs: [prerequisites]

View File

@@ -36,6 +36,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }

View File

@@ -30,6 +30,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }

View File

@@ -34,6 +34,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }

View File

@@ -33,6 +33,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }

View File

@@ -31,6 +31,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }

View File

@@ -32,6 +32,9 @@ dependencies {
}
test {
onlyIf {
project.hasProperty("sampleTests")
}
useJUnitPlatform()
testLogging.showStandardStreams = true
outputs.upToDateWhen { false }