Skip to content

Commit

Permalink
Spring Boot build is run on larger runners (#74)
Browse files Browse the repository at this point in the history
* Run Spring Boot build on larger runners

* Ignore test failures
  • Loading branch information
erichaagdev authored Sep 7, 2023
1 parent ae6b6f1 commit aaa3027
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run-experiments-spring-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit aaa3027

Please sign in to comment.