File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,18 +19,6 @@ permissions:
1919jobs :
2020 build :
2121 runs-on : ubuntu-latest
22-
23- # These env vars are inherited by all steps and child JVMs (Gradle, Maven Invoker forks, your TestHarness).
24- env :
25- # Make tinylog and any System.out/err visible in the Actions log
26- JAVA_TOOL_OPTIONS : >-
27- -Dtinylog.writer=console
28- -Dtinylog.level=trace
29- -Dtinylog.format={date} {level} [{thread}] {class}.{method}(): {message}
30- -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
31- # Optional: keep Maven a bit more predictable
32- MAVEN_OPTS : " -Xms256m -Xmx2g"
33-
3422 steps :
3523 - name : Checkout Repository
3624 uses : actions/checkout@v4
3927 uses : actions/setup-java@v4
4028 with :
4129 java-version : ' 21'
42- distribution : ' oracle' # fine; Temurin also works if you prefer
30+ distribution : ' oracle'
4331
4432 - name : Setup Gradle
4533 uses : gradle/gradle-build-action@v3
5442
5543 # Run tests with verbose logging
5644 - name : Test
45+ env :
46+ # Sent to every JVM launched by this step (Gradle Daemon + any forks)
47+ JDK_JAVA_OPTIONS : >-
48+ -Dtinylog.writer=console
49+ -Dtinylog.level=trace
50+ -Dtinylog.format={date} {level} [{thread}] {class}.{method}(): {message}
51+ -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
52+ MAVEN_OPTS : " -Xms256m -Xmx2g"
5753 run : ./gradlew test -PexcludeCategory="gin.category.LocalTest" --info --stacktrace | tee test.log
5854
5955 # Always upload logs and reports so we can inspect surefire/gradle outputs when something fails.
You can’t perform that action at this time.
0 commit comments