Skip to content

Commit

Permalink
Test matrix update.
Browse files Browse the repository at this point in the history
  • Loading branch information
psagers committed Oct 5, 2023
1 parent 276429f commit 3f491bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: |
3.7
3.11
3.8
3.10
3.12
- name: Install hatch
run: pipx install hatch
Expand Down
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,16 @@ mode = ["lint"]
# WARNING: When you update the Python versions, make sure to update
# .github/workflows/* as well.
[[tool.hatch.envs.test.matrix]]
python = ["3.7"]
python = ["3.8"]
django = ["3.2"]

[[tool.hatch.envs.test.matrix]]
python = ["3.11"]
django = ["4.1", "4.2"]
python = ["3.10"]
django = ["4.1"]

[[tool.hatch.envs.test.matrix]]
python = ["3.12"]
django = ["4.2"]

[[tool.hatch.envs.test.matrix]]
mode = ["coverage"]
Expand Down
1 change: 0 additions & 1 deletion test/test_project/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from django.core.exceptions import ImproperlyConfigured


try:
import tomllib
except ModuleNotFoundError:
Expand Down

0 comments on commit 3f491bc

Please sign in to comment.