Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dev-support/ci/selective_ci_checks.bats
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@ load bats-assert/load.bash
assert_output -p needs-kubernetes-tests=true
}

@test "java test + pmd change" {
run dev-support/ci/selective_ci_checks.sh 250bd5f317

assert_output -p 'basic-checks=["rat","author","checkstyle","findbugs","pmd"]'
assert_output -p needs-build=true
assert_output -p needs-compile=true
assert_output -p needs-compose-tests=false
assert_output -p needs-integration-tests=true
assert_output -p needs-kubernetes-tests=false
}

@test "integration and unit: java change" {
run dev-support/ci/selective_ci_checks.sh 9aebf6e25

Expand Down
1 change: 1 addition & 0 deletions dev-support/ci/selective_ci_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ function get_count_misc_files() {
"\.txt$"
"\.md$"
"findbugsExcludeFile.xml"
"pmd-ruleset.xml"
"/NOTICE$"
"^hadoop-ozone/dist/src/main/compose/common/grafana/dashboards"
)
Expand Down