Skip to content

Commit

Permalink
Enable logging of test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Feb 28, 2024
1 parent b29e76b commit 30310b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: Windows Build
on:
push:
branches:
- 3.1.x
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: 'Windows | Java 17'
runs-on: 'windows-latest'
if: ${{ github.repository == 'spring-projects/spring-boot' }}
steps:
- name: Set up Java
uses: actions/setup-java@v4
Expand Down Expand Up @@ -43,7 +39,7 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
run: ./gradlew build
run: ./gradlew build --no-parallel
- name: Print JVM thread dumps when cancelled
uses: ./.github/actions/print-jvm-thread-dumps
if: cancelled()
Expand Down
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ allprojects {
tasks.named("checkstyleNohttp").configure {
maxHeapSize = "1536m"
}

allprojects {
tasks.withType(Test).configureEach {
testLogging {
events 'STARTED', 'FAILED', 'PASSED', 'SKIPPED'
}
}
}

0 comments on commit 30310b4

Please sign in to comment.