Skip to content

Commit

Permalink
Test against Python 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed Oct 18, 2023
1 parent 6603d8f commit e2133c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
fail-fast: false
matrix:
include:
- { python: "3.10", os: ubuntu-latest, env: py310-42 }
- { python: "3.10", os: windows-latest, env: py310-42 }
- { python: "3.10", os: macos-latest, env: py310-42 }
- { python: "3.12", os: ubuntu-latest, env: py312-42 }
- { python: "3.11", os: ubuntu-latest, env: py311-42 }
- { python: "3.11", os: windows-latest, env: py311-42 }
- { python: "3.11", os: macos-latest, env: py311-42 }
- { python: "3.11", os: ubuntu-latest, env: py311-32 }
- { python: "3.10", os: ubuntu-latest, env: py310-42 }
- { python: "3.9", os: ubuntu-latest, env: py39-42 }
- { python: "3.8", os: ubuntu-latest, env: py38-42 }
- { python: "3.10", os: ubuntu-latest, env: py310-32 }

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = ["django>=3.2", "python-liquid[autoescape]>=0.7.4"]

Expand Down Expand Up @@ -58,7 +59,7 @@ lint = "ruff check ."
typing = "mypy"

[[tool.hatch.envs.test.matrix]]
python = ["38", "39", "310", "311"]
python = ["38", "39", "310", "311", "312"]
django = ["32", "42"]

[tool.hatch.envs.test.overrides]
Expand Down

0 comments on commit e2133c9

Please sign in to comment.