Skip to content

Commit

Permalink
fix: fixed matrix python x django
Browse files Browse the repository at this point in the history
  • Loading branch information
paqstd-dev committed Dec 1, 2024
1 parent 6304890 commit 27fe3f5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
45 changes: 42 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,48 @@ jobs:
fail-fast: false
matrix:
# https://docs.djangoproject.com/en/5.1/faq/install/#what-python-version-can-i-use-with-django
python-version: ["3.10", "3.11", "3.12", "3.13"]
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0", "5.1"]

include:
# 3.9 -- 3.2, 4.0, 4.1, 4.2
- python-version: "3.9"
django-version: "3.2"
- python-version: "3.9"
django-version: "4.0"
- python-version: "3.9"
django-version: "4.1"
- python-version: "3.9"
django-version: "4.2"
# 3.10 -- 3.2, 4.0, 4.1, 4.2, 5.0, 5.1
- python-version: "3.10"
django-version: "3.2"
- python-version: "3.10"
django-version: "4.0"
- python-version: "3.10"
django-version: "4.1"
- python-version: "3.10"
django-version: "4.2"
- python-version: "3.10"
django-version: "5.0"
- python-version: "3.10"
django-version: "5.1"
# 3.11 -- 4.1, 4.2, 5.0, 5.1
- python-version: "3.11"
django-version: "4.1"
- python-version: "3.11"
django-version: "4.2"
- python-version: "3.11"
django-version: "5.0"
- python-version: "3.11"
django-version: "5.1"
# 3.12 -- 4.2, 5.0, 5.1
- python-version: "3.12"
django-version: "4.2"
- python-version: "3.12"
django-version: "5.0"
- python-version: "3.12"
django-version: "5.1"
# 3.13 -- 5.1
- python-version: "3.13"
django-version: "5.1"
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors = [
]
description = "Display a fallback in templates until its children have finished loading."
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.9"
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
Expand All @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down

0 comments on commit 27fe3f5

Please sign in to comment.