Skip to content

build: fix ci for python 3.12 #30

build: fix ci for python 3.12

build: fix ci for python 3.12 #30

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
- name: Install
run: |
python setup.py install
- name: Test
# nose is not python >=3.10 compliant
if: ${{ matrix.python-version != 3.10 && matrix.python-version != 3.11 && matrix.python-version != 3.12 }}
run: |
pip install -r test-requirements.txt
make test