diff --git a/.github/workflows/run-experiments-apache-solr.yml b/.github/workflows/run-experiments-apache-solr.yml index d82e264..ec6f04f 100644 --- a/.github/workflows/run-experiments-apache-solr.yml +++ b/.github/workflows/run-experiments-apache-solr.yml @@ -11,7 +11,8 @@ permissions: env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/apache/solr" - TASKS: "check integrationTests -Ptests.seed=3466BEBDD5AA01A0 -Pvalidation.git.failOnModified=false -Ptests.haltonfailure=false -Ptests.neverUpToDate=false" + TASKS: "check integrationTests" + ARGS: "-x validateJarChecksums -Ptests.seed=3466BEBDD5AA01A0 -Pvalidation.git.failOnModified=false -Ptests.haltonfailure=false -Ptests.neverUpToDate=false" jobs: Experiment: @@ -33,7 +34,6 @@ jobs: run: | mkdir ~/git-hooks echo -e 'echo "\nallprojects { pluginManager.withPlugin(\"com.diffplug.spotless\") { tasks.withType(com.diffplug.gradle.spotless.SpotlessTaskImpl).configureEach { outputs.doNotCacheIf(\"SpotlessTaskImpl is not cacheable if custom formatter steps are used\") { true } } } }" >> build.gradle\n' >> ~/git-hooks/post-checkout - echo -e 'echo "\nallprojects { tasks.named { it == "validateJarChecksums" }.configureEach { enabled = false } }" >> build.gradle\n' >> ~/git-hooks/post-checkout chmod +x ~/git-hooks/post-checkout git config --global core.hooksPath ~/git-hooks - name: Download latest version of the validation scripts @@ -50,6 +50,7 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} + args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -59,6 +60,7 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} + args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 2 @@ -69,6 +71,7 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} + args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: true if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-hibernate-search.yml b/.github/workflows/run-experiments-hibernate-search.yml index ce40eb7..553f5a8 100644 --- a/.github/workflows/run-experiments-hibernate-search.yml +++ b/.github/workflows/run-experiments-hibernate-search.yml @@ -24,10 +24,10 @@ jobs: - experimentId: 2 runs-on: ubuntu-latest steps: - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: - java-version: 21 + java-version: 25 distribution: "temurin" - name: Download latest version of the validation scripts uses: gradle/develocity-build-validation-scripts/.github/actions/maven/download@actions-stable diff --git a/.github/workflows/run-experiments-micronaut-aws.yml b/.github/workflows/run-experiments-micronaut-aws.yml index d9a9d78..404b282 100644 --- a/.github/workflows/run-experiments-micronaut-aws.yml +++ b/.github/workflows/run-experiments-micronaut-aws.yml @@ -12,7 +12,6 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-aws" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" jobs: Experiment: @@ -44,7 +43,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -54,7 +52,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 2 @@ -65,7 +62,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-micronaut-core.yml b/.github/workflows/run-experiments-micronaut-core.yml index de2a864..510c715 100644 --- a/.github/workflows/run-experiments-micronaut-core.yml +++ b/.github/workflows/run-experiments-micronaut-core.yml @@ -12,7 +12,7 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-core" TASKS: "check" - ARGS: "-x japiCmp -DpredictiveTestSelection=false --warn" + ARGS: "-x japiCmp --warn" jobs: Experiment: diff --git a/.github/workflows/run-experiments-micronaut-data.yml b/.github/workflows/run-experiments-micronaut-data.yml index bf85208..4f9e1e3 100644 --- a/.github/workflows/run-experiments-micronaut-data.yml +++ b/.github/workflows/run-experiments-micronaut-data.yml @@ -12,7 +12,6 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-data" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" jobs: Experiment: @@ -44,7 +43,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -54,7 +52,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 2 @@ -65,7 +62,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-micronaut-kafka.yml b/.github/workflows/run-experiments-micronaut-kafka.yml index a0524a7..9528c81 100644 --- a/.github/workflows/run-experiments-micronaut-kafka.yml +++ b/.github/workflows/run-experiments-micronaut-kafka.yml @@ -12,7 +12,6 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-kafka" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" jobs: Experiment: @@ -44,7 +43,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -54,7 +52,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 2 @@ -65,7 +62,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-micronaut-kotlin.yml b/.github/workflows/run-experiments-micronaut-kotlin.yml index 0851cba..2dc48dd 100644 --- a/.github/workflows/run-experiments-micronaut-kotlin.yml +++ b/.github/workflows/run-experiments-micronaut-kotlin.yml @@ -12,7 +12,6 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-kotlin" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" jobs: Experiment: @@ -44,7 +43,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -54,7 +52,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 2 @@ -65,7 +62,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-micronaut-security.yml b/.github/workflows/run-experiments-micronaut-security.yml index b651e46..a97b3ee 100644 --- a/.github/workflows/run-experiments-micronaut-security.yml +++ b/.github/workflows/run-experiments-micronaut-security.yml @@ -12,7 +12,6 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-security" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" jobs: Experiment: @@ -44,7 +43,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} if: matrix.experimentId == 1 - name: Run experiment 2 @@ -54,7 +52,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 2 @@ -65,7 +62,6 @@ jobs: with: gitRepo: ${{ env.GIT_REPO }} tasks: ${{ env.TASKS }} - args: ${{ env.ARGS }} develocityUrl: ${{ env.DEVELOCITY_URL }} failIfNotFullyCacheable: false if: matrix.experimentId == 3 diff --git a/.github/workflows/run-experiments-micronaut-spring.yml b/.github/workflows/run-experiments-micronaut-spring.yml index fd56c21..4fa0821 100644 --- a/.github/workflows/run-experiments-micronaut-spring.yml +++ b/.github/workflows/run-experiments-micronaut-spring.yml @@ -12,7 +12,9 @@ env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-spring" TASKS: "check" - ARGS: "-DpredictiveTestSelection=false" + # Excludes: + # - :test-suite:test - https://ge.micronaut.io/scans/failures?failures.failureClassification=verification&failures.failureMessage=Execution%20failed%20for%20task%20%27:test-suite:test%27.%0A%3E%20Test%20process%20encountered%20an%20unexpected%20problem.%0A%20%20%20%3E%20Could%20not%20start%20Gradle%20Test%20Executor%20*%20Failed%20to%20load%20JUnit%20Platform.%20%20Please%20ensure%20that%20all%20JUnit%20Platform%20dependencies%20are%20available%20on%20the%20test%27s%20runtime%20classpath%2C%20including%20the%20JUnit%20Platform%20launcher.&search.rootProjectNames=spring-parent&search.timeZoneId=America%2FChicago + ARGS: "-x :test-suite:test" jobs: Experiment: diff --git a/.github/workflows/run-experiments-micronaut-starter.yml b/.github/workflows/run-experiments-micronaut-starter.yml index 6034bbe..b61337f 100644 --- a/.github/workflows/run-experiments-micronaut-starter.yml +++ b/.github/workflows/run-experiments-micronaut-starter.yml @@ -11,8 +11,7 @@ permissions: env: DEVELOCITY_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/micronaut-projects/micronaut-starter" - TASKS: "check" - ARGS: "-DpredictiveTestSelection=false -x test-aws:test -x test-buildtool:test -x test-cli:test -x test-cloud:test -x test-core:test -x test-features:test" + TASKS: "assemble :micronaut-cli:nativeCompile" jobs: Experiment: @@ -29,7 +28,7 @@ jobs: uses: actions/setup-java@v5 with: java-version: 21 - distribution: "temurin" + distribution: "graalvm" - name: Download latest version of the validation scripts uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/download@actions-stable with: