Skip to content

enh: add python 3.12, cleanup #135

enh: add python 3.12, cleanup

enh: add python 3.12, cleanup #135

Workflow file for this run

name: tests
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
pull_request:
jobs:
unittests:
runs-on: ubuntu-latest
timeout-minutes: 150
strategy:
max-parallel: 8
fail-fast: False
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10" , "3.11", "3.12" ]
include:
- os: macos-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
- os: macos-14 # Apple silicon runner
python-version: '3.12'
name: tests on ubuntu with ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Set up Python ${{ matrix.python-version }}
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install cython
- name: Test with pytest
run: |
. ci/install_tester.sh
. ci/run_tests.sh
- name: Build docs
run: |
. ci/testbuild_docs.sh