Drop support for python 3.7, django 3.2, run tests on python 3.12, 3.13 and django 5.1 #102
Workflow file for this run
This file contains hidden or 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: Run tests with tox | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pip | |
.tox | |
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }} | |
- name: Upgrade packaging tools | |
run: python -m pip install --upgrade pip setuptools virtualenv wheel | |
- name: Install dependencies | |
run: python -m pip install --upgrade tox tox-py | |
- name: Run tox targets for ${{ matrix.python-version }} | |
run: tox --py current |