@@ -12,18 +12,18 @@ jobs:
1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest]
15- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ']
16- django-version : ['3 .2', '4 .0', '4 .1', '4 .2']
15+ python-version : ['3.10 ', '3.11 ', '3.12 ', '3.13 ']
16+ django-version : ['4 .2', '5 .0', '5 .1', '5 .2']
1717
1818 steps :
1919 - name : Checkout code
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121 - name : Set up Python ${{ matrix.python-version }}
22- uses : actions/setup-python@v4
22+ uses : actions/setup-python@v5
2323 with :
2424 python-version : ${{ matrix.python-version }}
2525 - name : Cache installed requirements
26- uses : actions/cache@v3
26+ uses : actions/cache@v4
2727 with :
2828 path : ${{ env.pythonLocation }}
2929 key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-test-v01
@@ -37,19 +37,19 @@ jobs:
3737 DJANGO : ${{ matrix.django-version }}
3838 run : tox
3939 - name : Run tests for example
40- if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8 ' && matrix.django-version == '3 .2' }}
40+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10 ' && matrix.django-version == '4 .2' }}
4141 run : |
4242 python -m pip install .[test,example]
4343 python -m pytest example
4444 - name : Generate coverage.xml
45- if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8 ' && matrix.django-version == '3 .2' }}
46- uses : actions/upload-artifact@v3
45+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10 ' && matrix.django-version == '4 .2' }}
46+ uses : actions/upload-artifact@v4
4747 with :
4848 name : tox-gh-actions-coverage
4949 path : coverage.xml
5050 if-no-files-found : error
5151 - name : Upload coverage.xml to Coveralls
52- if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8 ' && matrix.django-version == '3 .2' }}
52+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10 ' && matrix.django-version == '4 .2' }}
5353 run : coveralls --service=github
5454 env :
5555 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments