@@ -20,24 +20,24 @@ jobs:
2020 runs-on : ubuntu-latest
2121
2222 strategy :
23- 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.*"
23+ matrix : # https://docs.djangoproject.com/en/5.0/faq/install/#what-python-version-can-i-use-with-django
24+ python-version : ["3.9", "3.10", "3.11", "3.12"]
25+ node-version : ["18.x"]
26+ django-version : ["4.2.*", "5.0.*"]
3027
3128 steps :
3229 - uses : actions/checkout@v3
3330 - name : Use Node.js ${{ matrix.node-version }}
3431 uses : actions/setup-node@v3
3532 - name : Set up Python ${{ matrix.python-version }}
36- uses : actions/setup-python@v3
33+ uses : actions/setup-python@v5
34+ with :
35+ python-version : ${{ matrix.python-version }}
3736 - name : Install Dependencies
3837 run : |
39- npm ci --also =dev
38+ npm ci --include =dev
4039 python -m pip install --upgrade pip
40+ python -m pip install --upgrade setuptools wheel
4141 python -m pip install "Django==${{ matrix.django-version }}"
4242 python -m pip install -r testapp/requirements.txt
4343 python -m playwright install
4848 - name : Patch templates
4949 run : |
5050 mkdir -p adminsortable2/templates/adminsortable2/edit_inline
51- DJANGO_VERSIONS=("4.0 " "4.1" "4.2 ")
51+ DJANGO_VERSIONS=("4.2 " "5.0 ")
5252 for django_version in ${DJANGO_VERSIONS[@]}; do
5353 echo $django_version
5454 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