@@ -21,23 +21,26 @@ jobs:
2121
2222 strategy :
2323 matrix :
24- python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 "]
25- node-version : ["16 .x"]
26- django-version : ["4.0 .*", "4.1.*", "4.2 .*"]
27- exclude : # https://docs.djangoproject.com/en/4.2 /faq/install/#what-python-version-can-i-use-with-django
28- - python-version : " 3.11 "
29- django-version : " 4 .0.*"
24+ python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 "]
25+ node-version : ["18 .x"]
26+ django-version : ["4.2 .*", "5.0 .*"]
27+ exclude : # https://docs.djangoproject.com/en/5.0 /faq/install/#what-python-version-can-i-use-with-django
28+ - python-version : " 3.9 "
29+ django-version : " 5 .0.*"
3030
3131 steps :
3232 - uses : actions/checkout@v3
3333 - name : Use Node.js ${{ matrix.node-version }}
3434 uses : actions/setup-node@v3
3535 - name : Set up Python ${{ matrix.python-version }}
36- uses : actions/setup-python@v3
36+ uses : actions/setup-python@v5
37+ with :
38+ python-version : ${{ matrix.python-version }}
3739 - name : Install Dependencies
3840 run : |
39- npm ci --also =dev
41+ npm ci --include =dev
4042 python -m pip install --upgrade pip
43+ python -m pip install --upgrade setuptools wheel
4144 python -m pip install "Django==${{ matrix.django-version }}"
4245 python -m pip install -r testapp/requirements.txt
4346 python -m playwright install
4851 - name : Patch templates
4952 run : |
5053 mkdir -p adminsortable2/templates/adminsortable2/edit_inline
51- DJANGO_VERSIONS=("4.0 " "4.1" "4.2 ")
54+ DJANGO_VERSIONS=("4.2 " "5.0 ")
5255 for django_version in ${DJANGO_VERSIONS[@]}; do
5356 echo $django_version
5457 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