Skip to content

chore(deps): bump the maven group across 2 directories with 1 update #2856

chore(deps): bump the maven group across 2 directories with 1 update

chore(deps): bump the maven group across 2 directories with 1 update #2856

Workflow file for this run

name: "Base Workflow"
on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
jobs:
java:
name: "Java Solver"
concurrency:
group: pull_request-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }}
cancel-in-progress: true
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java-version: [ 21 ] # Latest LTS if not Ubuntu
include:
- os: ubuntu-latest
java-version: 17
- os: ubuntu-latest
java-version: 23
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{matrix.java-version}}
distribution: 'temurin'
cache: 'maven'
- name: Build and test timefold-solver
run: mvn -B verify
python:
name: "Python Solver"
concurrency:
group: pull_request-python-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }}
cancel-in-progress: true
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java-version: [ 21 ] # Latest LTS if not Ubuntu
include:
- os: ubuntu-latest
java-version: 17
- os: ubuntu-latest
java-version: 23
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{matrix.java-version}}
distribution: 'temurin'
cache: 'maven'
# Need to install all Python versions in the same run for tox
- name: Python 3.10, Python 3.11, Python 3.12 Setup
uses: actions/setup-python@v5
with:
python-version: |
3.10
3.11
3.12
cache: 'pip'
cache-dependency-path: |
**/setup.py
- name: Install tox
run:
pip install tox build
- name: Run tox on Timefold Solver for Python test suite
run: python -m tox
- name: Run tox on jpyinterpreter test suite
working-directory: ./python/jpyinterpreter
run: python -m tox
native:
name: "Native Image"
concurrency:
group: pull_request_native-${{ github.event_name }}-${{ github.head_ref }}-${{matrix.os}}-${{ matrix.module }}-${{ matrix.java-version }}
cancel-in-progress: true
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest ] # Windows doesn't work, Mac is not a deploy OS.
module: ["spring-integration", "quarkus-integration"]
java-version: [ 17, 21, 23 ] # LTS + latest.
exclude:
# Quarkus 3.17.2 has weird issues with Java 17 GraalVM,
# with Java 21+ GraalVM being recommended even for
# Java 17 projects.
# https://github.com/quarkusio/quarkus/issues/44877
- module: "quarkus-integration"
java-version: 17
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{matrix.java-version}}
distribution: 'graalvm-community'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Quickly build timefold-solver
run: mvn -B -Dquickly clean install
- name: Test timefold-solver in Native mode
run: |
cd ${{matrix.module}}
mvn -B -Dnative verify