Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,9 @@ jobs:
- python-version: "3.12"
django-version: "5.2"

- python-version: "3.13"
- python-version: "3.13.2"
django-version: "6.0"

env:
TEST_PYTHON_VERSION: ${{ matrix.python-version }}
TEST_DJANGO_VERSION: ${{ matrix.django-version }}

steps:
- uses: actions/checkout@main

Expand All @@ -71,16 +67,16 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: astral-sh/setup-uv@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true

- name: Install package and test deps
run: |
uv sync --all-groups --all-extras

- name: Install Django ${{ matrix.django-version }}
run: uv pip install "django~=${{ matrix.django-version }}"
- name: Install dependencies
run: uv sync --all-groups --all-extras

- name: Run tests
run: uv run pytest tests/ -v --tb=short
run: |
uv run \
--with "django~=${{ matrix.django-version }}" \
pytest tests/ -v --tb=short
3 changes: 2 additions & 1 deletion src/banjo_utils/management/commands/create_initial_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import json
import pathlib
import typing
from typing import Any, override
from typing import Any

from django.contrib.auth import get_user_model
from django.contrib.auth.hashers import identify_hasher
from django.core.management.base import BaseCommand, CommandError
from typing_extensions import override

if typing.TYPE_CHECKING:
from django.core.management.base import CommandParser
Expand Down
Loading