Skip to content

Commit

Permalink
SONARPHP-1519 Only run Tests class for plugin ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
GabinL21 committed Nov 4, 2024
1 parent 473871a commit 083319f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ plugin_qa_task:
- source cirrus-env QA
- source set_gradle_build_version $BUILD_NUMBER
- cd its/plugin
- ../../gradlew -Drevision=${PROJECT_VERSION} -Dsonar.runtimeVersion=${SQ_VERSION} test --tests Tests --info --console plain --no-daemon
- ../../gradlew -Drevision=${PROJECT_VERSION} -Dsonar.runtimeVersion=${SQ_VERSION} test --info --console plain --no-daemon

ruling_task:
<<: *ONLY_SONARSOURCE_QA
Expand Down
4 changes: 4 additions & 0 deletions its/plugin/tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ dependencies {
testImplementation(libs.assertj.core)
testCompileOnly(libs.jsr305)
}

tasks.test {
include("**/Tests.class")
}

0 comments on commit 083319f

Please sign in to comment.