Updating actions and readme to show support for Django 3.2, 4.0, 4.1, 4.2 and 5.0 including new testing matrix #25
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: build | |
on: | |
- pull_request | |
- push | |
jobs: | |
build: | |
name: ${{ matrix.toxenv }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: 3.8 | |
toxenv: py38-django22 | |
- python: 3.9 | |
toxenv: py39-django22 | |
- python: 3.8 | |
toxenv: py38-django30 | |
- python: 3.9 | |
toxenv: py39-django30 | |
- python: 3.8 | |
toxenv: py38-django31 | |
- python: 3.9 | |
toxenv: py39-django31 | |
- python: 3.8 | |
toxenv: py38-django32 | |
- python: 3.9 | |
toxenv: py39-django32 | |
- python: "3.10" | |
toxenv: py310-django32 | |
- python: 3.8 | |
toxenv: py38-django40 | |
- python: 3.8 | |
toxenv: py38-django40 | |
- python: "3.10" | |
toxenv: py310-django40 | |
- python: 3.8 | |
toxenv: py38-django41 | |
- python: 3.9 | |
toxenv: py39-django41 | |
- python: "3.10" | |
toxenv: py310-django41 | |
- python: "3.11" | |
toxenv: py311-django41 | |
- python: "3.10" | |
toxenv: py310-django42 | |
- python: "3.11" | |
toxenv: py311-django42 | |
- python: "3.12" | |
toxenv: py312-django42 | |
- python: "3.10" | |
toxenv: py310-django50 | |
- python: "3.11" | |
toxenv: py311-django50 | |
- python: "3.12" | |
toxenv: py312-django50 | |
- python: "3.13" | |
toxenv: py313-django50 | |
- python: "3.10" | |
toxenv: py310-django51 | |
- python: "3.11" | |
toxenv: py311-django51 | |
- python: "3.12" | |
toxenv: py312-django51 | |
- python: "3.13" | |
toxenv: py313-django51 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Run tox | |
run: tox -e ${{ matrix.toxenv }} |