Skip to content

Removed java version 21.0.1+12.0.LTS to action github #90

Removed java version 21.0.1+12.0.LTS to action github

Removed java version 21.0.1+12.0.LTS to action github #90

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- 'feature/**'
pull_request:
branches:
- master
- 'feature/**'
jobs:
linux_tests:
name: Linux - Python ${{ matrix.python-version }} with Java ${{ matrix.java-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
# java-version: ['11.0.21+9', '16.0.2+7', '17.0.9+9', '18.0.2+101', '19.0.2+7', '20.0.2+9', '21.0.1+12.0.LTS']
java-version: ['11.0.21+9', '16.0.2+7', '17.0.9+9', '18.0.2+101', '19.0.2+7', '20.0.2+9']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: temurin
architecture: x64
java-package: jdk
java-version: ${{ matrix.java-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install jpype1
- name: Run test targets for ${{ matrix.python-version }}
run: python -m unittest discover ./test -p '*.py'
windows_tests:
name: Win - Python ${{ matrix.python-version }} with Java ${{ matrix.java-version }}
needs: linux_tests
runs-on: windows-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
# java-version: ['11.0.20+101', '16.0.2+7', '17.0.9+9.1', '18.0.2+101', '19.0.2+7', '20.0.2+9', '21.0.1+12.1.LTS']
java-version: ['11.0.20+101', '16.0.2+7', '17.0.9+9.1', '18.0.2+101', '19.0.2+7', '20.0.2+9']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: temurin
architecture: x64
java-package: jdk
java-version: ${{ matrix.java-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install jpype1
- name: Run test targets for ${{ matrix.python-version }}
run: python -m unittest discover ./test -p '*.py'
mac_tests:
name: MacOS - Python ${{ matrix.python-version }} with Java ${{ matrix.java-version }}
needs: [linux_tests, windows_tests]
runs-on: macos-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
# java-version: ['11.0.21+9', '16.0.2+7', '17.0.9+9', '18.0.2+101', '19.0.2+7', '20.0.2+9', '21.0.1+12.0.LTS']
java-version: ['11.0.21+9', '16.0.2+7', '17.0.9+9', '18.0.2+101', '19.0.2+7', '20.0.2+9']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: temurin
architecture: x64
java-package: jdk
java-version: ${{ matrix.java-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install jpype1
- name: Run test targets for ${{ matrix.python-version }}
run: python -m unittest discover ./test -p '*.py'