mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-26 06:55:49 +02:00
Changes to support testing all currently production stable combinations
of Python and Django
This commit is contained in:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -13,6 +13,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
# Explicitly include Python 3.9 only with Django 4.2
|
||||
- python-version: "3.9"
|
||||
django-version: "4.2"
|
||||
# Explicitly include Python 3.13 only with Django 5.2
|
||||
- python-version: "3.13"
|
||||
django-version: "5.2"
|
||||
@@ -39,11 +42,6 @@ jobs:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ hashFiles('pyproject.toml') }}-${{ matrix.python-version }}-${{ matrix.django-version }}
|
||||
|
||||
- name: Override Django version with test version ${{ matrix.django-version }}
|
||||
run: |
|
||||
uv add "django~=${{ matrix.django-version }}"
|
||||
uv run django-admin --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
@@ -57,6 +55,6 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE} && uv run quicktest.py
|
||||
cd ${GITHUB_WORKSPACE} && uv run --with django~=${{ matrix.django-version }} quicktest.py
|
||||
env:
|
||||
DJANGO_SETTINGS_MODULE: helpdesk.settings
|
||||
|
@@ -5,7 +5,7 @@ description = "Django-powered ticket tracker for your helpdesk"
|
||||
authors = [
|
||||
{name = "Ross Poulton", email = "ross@rossp.org"},
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
requires-python = ">=3.9"
|
||||
readme = "README.rst"
|
||||
license = {text = "BSD3"}
|
||||
keywords = ["django", "helpdesk", "django-helpdesk", "tickets", "incidents", "cases", "bugs", "track", "support"]
|
||||
@@ -18,7 +18,8 @@ packages = [
|
||||
{ include="helpdesk", from="." },
|
||||
]
|
||||
dependencies = [
|
||||
"django>=4.2",
|
||||
"django>=5; python_version>='3.10'",
|
||||
"django<5; python_version<'3.10'",
|
||||
"django-bootstrap4-form",
|
||||
"celery",
|
||||
"email-reply-parser",
|
||||
|
Reference in New Issue
Block a user