Skip to content

Commit 3a29a99

Browse files
committed
Revert "Disable Predictive Test Selection for now to surface discovery issues"
This reverts commit b816f69.
1 parent a08987c commit 3a29a99

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/actions/run-gradle/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ runs:
2626
run: |
2727
./gradlew \
2828
-Porg.gradle.java.installations.auto-download=false \
29+
-Pjunit.develocity.predictiveTestSelection.enabled=true \
30+
-Pjunit.develocity.predictiveTestSelection.selectRemainingTests=${{ github.event_name != 'pull_request' }} \
2931
"-Dscan.value.GitHub job=${{ github.job }}" \
3032
javaToolchains \
3133
${{ inputs.arguments }}

gradle/plugins/build-parameters/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ buildParameters {
3939
group("predictiveTestSelection") {
4040
bool("enabled") {
4141
description = "Whether or not to use Predictive Test Selection for selecting tests to execute"
42-
defaultValue = false
42+
defaultValue = true
4343
}
4444
bool("selectRemainingTests") {
4545
// see https://docs.gradle.com/develocity/predictive-test-selection/#gradle-selection-mode

0 commit comments

Comments
 (0)