diff --git a/.github/workflows/run-experiments-spring-boot.yml b/.github/workflows/run-experiments-spring-boot.yml index fc90461..2dfbf55 100644 --- a/.github/workflows/run-experiments-spring-boot.yml +++ b/.github/workflows/run-experiments-spring-boot.yml @@ -10,7 +10,7 @@ on: env: GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com" GIT_REPO: "https://github.com/spring-projects/spring-boot" - TASKS: "assemble" + TASKS: "build" jobs: Experiment: @@ -22,7 +22,12 @@ jobs: - experimentId: 2 - experimentId: 3 - runs-on: ubuntu-latest + runs-on: + # This `runs-on` configuration utilize larger GitHub Actions hosted runners. This build does not successfully + # complete on the default runners. + # Using this label incurs extra costs, so please do not copy/paste this configuration. + labels: ubuntu-latest-4core + group: gradle-enterprise-oss-projects steps: - name: Set up JDK 17 uses: actions/setup-java@v3 @@ -33,6 +38,12 @@ jobs: uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable with: token: ${{ secrets.GITHUB_TOKEN }} + - name: Ignore Test Failures + run: | + mkdir ~/git-hooks + echo -e 'echo "\nallprojects { tasks.withType(Test).configureEach { ignoreFailures = true } }" >> build.gradle\n' >> ~/git-hooks/post-checkout + chmod +x ~/git-hooks/post-checkout + git config --global core.hooksPath ~/git-hooks - name: Run experiment 1 uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable env: