Skip to content

Add support for Python 3.13 and numpy 2 (#27) #37

Add support for Python 3.13 and numpy 2 (#27)

Add support for Python 3.13 and numpy 2 (#27) #37

# This workflow will install tox and use it to run tests.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
fail-fast: false
runs-on: ${{ matrix.python <= '3.6' && 'ubuntu-20.04' || 'ubuntu-22.04' }}
name: Test on python ${{ matrix.python }} and numpy ${{ matrix.numpyversion }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install Tox
run: pip install tox
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py