Skip to content

Move ensure_csrf_token docstring to README #163

Move ensure_csrf_token docstring to README

Move ensure_csrf_token docstring to README #163

Workflow file for this run

name: tests
on: [push, pull_request, workflow_dispatch]
jobs:
pre-commit:
name: Run pre-commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
django-version: ["4.2", "5.0"]
exclude:
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
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
pip install django~=${{ matrix.django-version }}
pip install -e ".[dev]"
- name: Run tests
run: |
pytest --cov