Skip to content

Remove Python 3.8 from the tests matrix, add 3.12 #57

Remove Python 3.8 from the tests matrix, add 3.12

Remove Python 3.8 from the tests matrix, add 3.12 #57

Workflow file for this run

name: CI
on: [push]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
# matching python version for Black
python-version: '3.10'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Setup 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
pip install -e .[tests]
- name: Test with pytest
run: pytest