Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Base Workflow"

env:
NODE_OPTIONS: "--max_old_space_size=4096"

on:
push:
branches: [main]
Expand Down Expand Up @@ -44,6 +47,14 @@ jobs:

- name: Build and test timefold-solver
run: mvn -B verify

- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()

# Exists to check long-running goals, such as docs.
# Tests are skipped as there is plenty of CI that runs them.
java_full:
Expand Down Expand Up @@ -83,6 +94,12 @@ jobs:
run: |
cd spring-integration
mvn -B verify
- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()
spring_boot_3_4_x:
name: "Spring Boot 3.4.x"
runs-on: ubuntu-latest
Expand All @@ -104,6 +121,12 @@ jobs:
run: |
cd spring-integration
mvn -B verify
- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()

native:
name: "Native Image"
Expand Down Expand Up @@ -131,7 +154,6 @@ jobs:
with:
java-version: ${{matrix.java-version}}
distribution: 'graalvm-community'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'

Expand All @@ -142,3 +164,10 @@ jobs:
run: |
cd ${{matrix.module}}
mvn -B -Dnative verify

- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()
11 changes: 10 additions & 1 deletion .github/workflows/pull_request_quickstarts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Quickstarts Workflow

env:
NODE_OPTIONS: "--max_old_space_size=4096"

on:
push:
branches: [main]
Expand Down Expand Up @@ -67,4 +70,10 @@ jobs:
- name: Build and test timefold-quickstarts
working-directory: ./timefold-quickstarts
shell: bash
run: mvn -B clean verify
run: mvn -B clean verify
- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()
15 changes: 15 additions & 0 deletions .github/workflows/pull_request_secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# or that there is explicit approval for their jobs to run.
name: Secured Workflow

env:
NODE_OPTIONS: "--max_old_space_size=4096"

on:
push:
branches: [ main ]
Expand Down Expand Up @@ -133,6 +136,12 @@ jobs:
working-directory: ./timefold-solver-benchmarks
shell: bash
run: mvn -B -DskipJMH clean verify
- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()
enterprise-java:
needs: approval_required
name: Enterprise Edition (Java)
Expand Down Expand Up @@ -187,6 +196,12 @@ jobs:
working-directory: ./timefold-solver-enterprise
shell: bash
run: mvn -B clean verify
- name: Test Summary
uses: test-summary/action@2920bc1b1b377c787227b204af6981e8f41bbef3
with:
paths: "**/TEST-*.xml"
show: "fail"
if: always()

build_documentation:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions build/build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,16 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<!-- Do not move to full profile. Otherwise upstream dependency changes can break our build without CI catching it. -->
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions core/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</appender>

<!-- To override the info log level from the command line, use the VM option "-Dlogback.level.ai.timefold.solver=trace" -->
<logger name="ai.timefold.solver" level="${logback.level.ai.timefold.solver:-warn}"/>
<logger name="ai.timefold.solver" level="${logback.level.ai.timefold.solver:-debug}"/>
<!-- Don't pollute the test log with a stacktrace -->
<logger name="ai.timefold.solver.benchmark.impl.DefaultPlannerBenchmark.singleBenchmarkRunnerException" level="error"/>

<root level="warn">
<root level="debug">
<appender-ref ref="consoleAppender" />
</root>

Expand Down
Loading