Skip to content

Removed Python 3.13 from GitHub Actions tests. #82

Removed Python 3.13 from GitHub Actions tests.

Removed Python 3.13 from GitHub Actions tests. #82

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: [9, 10, 11, 12, 13, 14, 15, 17, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
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: [9, 10, 11, 12, 13, 14, 15, 17, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
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: [9, 10, 11, 12, 13, 14, 15, 17, 21]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
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'