Skip to content

Added Django 5.1 support #69

Added Django 5.1 support

Added Django 5.1 support #69

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -e .[tests]
- name: Run tests with coverage
run: |
coverage erase
coverage run -m django test --settings=tests.settings --pythonpath=.
coverage report
# tox:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# python-version:
# - "3.10"
# - "3.11"
# - "3.12"
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip setuptools wheel
# python -m pip install --upgrade 'tox>=4.0.0rc3'
# - name: Run tox targets for ${{ matrix.python-version }}
# run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)