Skip to content

Add support for official Django & Python versions #7

Add support for official Django & Python versions

Add support for official Django & Python versions #7

Workflow file for this run

name: Unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Python ${{ matrix.python-version }}, django ${{ matrix.django-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
django-version: [32, 41, 42]
exclude:
- python-version: 3.11
django-version: 32
steps:
- uses: actions/checkout@v4
- 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