@@ -12,18 +12,18 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
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']
17
17
18
18
steps :
19
19
- name : Checkout code
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
- name : Set up Python ${{ matrix.python-version }}
22
- uses : actions/setup-python@v4
22
+ uses : actions/setup-python@v5
23
23
with :
24
24
python-version : ${{ matrix.python-version }}
25
25
- name : Cache installed requirements
26
- uses : actions/cache@v3
26
+ uses : actions/cache@v4
27
27
with :
28
28
path : ${{ env.pythonLocation }}
29
29
key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-test-v01
@@ -37,19 +37,19 @@ jobs:
37
37
DJANGO : ${{ matrix.django-version }}
38
38
run : tox
39
39
- 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' }}
41
41
run : |
42
42
python -m pip install .[test,example]
43
43
python -m pytest example
44
44
- 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
47
47
with :
48
48
name : tox-gh-actions-coverage
49
49
path : coverage.xml
50
50
if-no-files-found : error
51
51
- 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' }}
53
53
run : coveralls --service=github
54
54
env :
55
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments