Remove tested support for Django 4.1; add tests for Django 5.1 and Py… #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Python ${{ matrix.env.python }} | ${{ matrix.env.TOXENV }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- python: 3.8 | |
TOXENV: py38-django32 | |
- python: 3.9 | |
TOXENV: py39-django32 | |
- python: 3.9 | |
TOXENV: py39-django41 | |
- python: 3.9 | |
TOXENV: py39-django42 | |
- python: '3.10' | |
TOXENV: py310-django32 | |
- python: '3.10' | |
TOXENV: py310-django41 | |
- python: '3.10' | |
TOXENV: py310-django42 | |
- python: '3.10' | |
TOXENV: py310-django50 | |
- python: '3.11' | |
TOXENV: py311-django41 | |
- python: '3.11' | |
TOXENV: py311-django42 | |
- python: '3.11' | |
TOXENV: py311-django50 | |
- python: '3.12' | |
TOXENV: py311-django42 | |
- python: '3.12' | |
TOXENV: py311-django50 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.env.python }} | |
- name: Install tox | |
run: pip install tox | |
- name: Run Tests | |
env: | |
TOXENV: django${{ matrix.env.TOXENV }} | |
run: tox -e ${{ matrix.env.TOXENV }} |