Skip to content

Commit

Permalink
Test for multiple django version (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Jan 2, 2024
1 parent 57f62af commit 23cfd71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ jobs:
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
# django-version: ["<4", "<5", "<6"]
django-version: ["<4", "<5", "<6"]
steps:
- uses: actions/checkout@v2
- name: Python ${{ matrix.python-version }} # Django ${{ matrix.django-version }}
- name: Python-${{ matrix.python-version }}-django${{ matrix.django-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -yqq gettext
pip3 install -e ".[dev]"
pip3 install "django${{ matrix.django-version }}"
- name: Lint
run: |
pre-commit run --all-files
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"django>=2.0,<5",
"django>=2.0,<6",
"zxcvbn",
]
requires-python = ">=3.8.0"
Expand Down

0 comments on commit 23cfd71

Please sign in to comment.