Skip to content

Update python version compat - remove 3.7, add 3.11, 3.12 #197

Update python version compat - remove 3.7, add 3.11, 3.12

Update python version compat - remove 3.7, add 3.11, 3.12 #197

Workflow file for this run

name: Unit tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Python ${{ matrix.python-version }}, django ${{ matrix.django-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: [22, 32, 40, 41, 42]
exclude:
- python-version: "3.7"
django-version: 40
- python-version: "3.7"
django-version: 41
- python-version: "3.7"
django-version: 42
steps:
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run Tests
env:
TOXENV: django${{ matrix.django-version }}
run: tox