@@ -31,16 +31,16 @@ jobs:
31
31
export PYTHON=${{ matrix.python-version }}
32
32
tox
33
33
34
- test :
34
+ test_latest :
35
35
name :
36
36
test latest / Django@${{ matrix.django-version }} / Python@${{
37
37
matrix.python-version }}
38
38
runs-on : ubuntu-latest
39
39
strategy :
40
40
fail-fast : false
41
41
matrix :
42
- python-version : [3.8, 3.9, "3.10", "3.11", "3.12"]
43
- django-version : [-main, "4.0 "]
42
+ python-version : ["3.10", "3.11", "3.12"]
43
+ django-version : ["5.0", "-main "]
44
44
45
45
steps :
46
46
- uses : actions/checkout@v3
67
67
pip install coveralls
68
68
coveralls --service=github
69
69
70
+ test :
71
+ name :
72
+ test latest / Django@${{ matrix.django-version }} / Python@${{
73
+ matrix.python-version }}
74
+ runs-on : ubuntu-latest
75
+ strategy :
76
+ fail-fast : false
77
+ matrix :
78
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
79
+ django-version : ["4.0", "4.1", "4.2"]
80
+
81
+ steps :
82
+ - uses : actions/checkout@v3
83
+ - name : Set up Python ${{ matrix.python-version }}
84
+ uses : actions/setup-python@v4
85
+ with :
86
+ python-version : ${{ matrix.python-version }}
87
+
88
+ - name : Execute tests
89
+ run : |
90
+ pip install -U pip poetry tox
91
+ poetry install
92
+
93
+ export DJANGO=${{ matrix.django-version }}
94
+ export PYTHON=${{ matrix.python-version }}
95
+ export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
96
+ tox
97
+
70
98
test_deprecated : # testing older versions of python+django
71
99
name :
72
100
test old stuff / Django@${{ matrix.django-version }} / Python@${{
75
103
strategy : # TODO: use a YAML anchor - not supported in GitHub actions "yet"
76
104
fail-fast : false
77
105
matrix :
78
- python-version : [3.7, 3. 8, 3.9]
106
+ python-version : [3.8, 3.9]
79
107
django-version : [3.2, 3.1, "3.0", "2.2"]
80
108
81
109
steps :
@@ -95,19 +123,11 @@ jobs:
95
123
export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
96
124
tox
97
125
98
- - name : Coveralls
99
- env :
100
- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
101
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
102
- run : |
103
- pip install coveralls
104
- coveralls --service=github
105
-
106
126
build_and_package_sanity :
107
127
runs-on : ubuntu-latest
108
128
strategy :
109
129
matrix :
110
- python-version : ["3.11 "]
130
+ python-version : ["3.12 "]
111
131
112
132
steps :
113
133
- uses : actions/checkout@v3
0 commit comments