Skip to content

Drop python 3.5, add python 3.12 #109

Drop python 3.5, add python 3.12

Drop python 3.5, add python 3.12 #109

name: Run all tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
dep-versions: [numpy scipy pandas matplotlib]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ${{ matrix.dep-versions }}
python -m pip install pytest paranoid-scientist pathos
- name: Build
run: |
python setup.py build_ext --force --inplace
- name: Run tests
run: |
./runtests.sh