Skip to content

Commit 549f5ca

Browse files
authored
Update tests.yml
1 parent 6c22e35 commit 549f5ca

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
matrix:
2626
python-version: ["3.9", "3.10", "3.11", "3.12"]
2727
node-version: ["18.x"]
28-
django-version: ["4.2.*", "5.0.*"]
28+
django-version: ["4.2.*", "5.0.*", "5.1.*"]
2929
exclude: # https://docs.djangoproject.com/en/5.0/faq/install/#what-python-version-can-i-use-with-django
3030
- python-version: "3.9"
3131
django-version: "5.0.*"
32+
- python-version: "3.9"
33+
django-version: "5.1.*"
3234

3335
steps:
3436
- uses: actions/checkout@v3
@@ -53,7 +55,7 @@ jobs:
5355
- name: Patch templates
5456
run: |
5557
mkdir -p adminsortable2/templates/adminsortable2/edit_inline
56-
DJANGO_VERSIONS=("4.2" "5.0")
58+
DJANGO_VERSIONS=("4.2" "5.0", "5.1")
5759
for django_version in ${DJANGO_VERSIONS[@]}; do
5860
echo $django_version
5961
curl --silent --output adminsortable2/templates/adminsortable2/edit_inline/stacked-django-$django_version.html https://raw.githubusercontent.com/django/django/stable/$django_version.x/django/contrib/admin/templates/admin/edit_inline/stacked.html

0 commit comments

Comments
 (0)