Added support for Django 5.1 #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: Test | |
'on': [push, pull_request] | |
jobs: | |
tox: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- python-version: "3.6" | |
tox-env: py36-django32 | |
- python-version: "3.7" | |
tox-env: py37-django32 | |
- python-version: "3.8" | |
tox-env: py38-django32 | |
- python-version: "3.9" | |
tox-env: py39-django32 | |
- python-version: "3.10" | |
tox-env: py310-django32 | |
- python-version: "3.8" | |
tox-env: py38-django40 | |
- python-version: "3.9" | |
tox-env: py39-django40 | |
- python-version: "3.10" | |
tox-env: py310-django40 | |
- python-version: "3.8" | |
tox-env: py38-django41 | |
- python-version: "3.9" | |
tox-env: py39-django41 | |
- python-version: "3.10" | |
tox-env: py310-django41 | |
- python-version: "3.11" | |
tox-env: py311-django41 | |
- python-version: "3.8" | |
tox-env: py38-django42 | |
- python-version: "3.9" | |
tox-env: py39-django42 | |
- python-version: "3.10" | |
tox-env: py310-django42 | |
- python-version: "3.11" | |
tox-env: py311-django42 | |
- python-version: "3.12" | |
tox-env: py312-django42 | |
- python-version: "3.10" | |
tox-env: py310-django50 | |
- python-version: "3.11" | |
tox-env: py311-django50 | |
- python-version: "3.12" | |
tox-env: py312-django50 | |
- python-version: "3.10" | |
tox-env: py310-django51 | |
- python-version: "3.11" | |
tox-env: py311-django51 | |
- python-version: "3.12" | |
tox-env: py312-django51 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Pip cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ matrix.tox-env }}-${{ hashFiles('setup.py', 'tox.ini') }} | |
restore-keys: | | |
${{ runner.os }}-pip-${{ matrix.tox-env }}- | |
- name: Install setuptools | |
run: pip install setuptools | |
- name: Install tox | |
run: pip install tox==3.* | |
- name: Run Tox env '${{ matrix.tox-env }}' | |
run: tox -e ${{ matrix.tox-env }} |