99 strategy :
1010 fail-fast : false
1111 matrix :
12- python-version : ['3.6', '3.7', '3.8', '3.9']
12+ python-version : ['3.6', '3.7', '3.8', '3.9', '3.10' ]
1313 es-version : ['6', '7']
1414 include :
1515 - python-version : 3.6
16- tox_env : py36-django22-elasticsearch7
17- requirements : django_2_2
18- - python-version : 3.6
19- tox_env : py36-django31-elasticsearch7
20- requirements : django_3_1
21- - python-version : 3.6
22- tox_env : py36-django32-elasticsearch7
23- requirements : django_3_2
16+ es-version : ' 7'
17+ tox_env : py36-django{22,31,32}-elasticsearch7
2418
2519 - python-version : 3.6
26- tox_env : py36-django22-elasticsearch6
27- requirements : django_2_2
28- - python-version : 3.6
29- tox_env : py36-django31-elasticsearch6
30- requirements : django_3_1
31- - python-version : 3.6
32- tox_env : py36-django32-elasticsearch6
33- requirements : django_3_2
20+ es-version : ' 6'
21+ tox_env : py36-django{22,31,32}-elasticsearch6
3422
3523 - python-version : 3.7
36- tox_env : py37-django22-elasticsearch7
37- requirements : django_2_2
38- - python-version : 3.7
39- tox_env : py37-django31-elasticsearch7
40- requirements : django_3_1
41- - python-version : 3.7
42- tox_env : py37-django32-elasticsearch7
43- requirements : django_3_2
24+ es-version : ' 7'
25+ tox_env : py37-django{22,31,32}-elasticsearch7
4426
4527 - python-version : 3.7
46- tox_env : py37-django22-elasticsearch6
47- requirements : django_2_2
48- - python-version : 3.7
49- tox_env : py37-django31-elasticsearch6
50- requirements : django_3_1
51- - python-version : 3.7
52- tox_env : py37-django32-elasticsearch6
53- requirements : django_3_2
28+ es-version : ' 6'
29+ tox_env : py37-django{22,31,32}-elasticsearch6
5430
5531 - python-version : 3.8
56- tox_env : py38-django22-elasticsearch7
57- requirements : django_2_2
58- - python-version : 3.8
59- tox_env : py38-django31-elasticsearch7
60- requirements : django_3_1
61- - python-version : 3.8
62- tox_env : py38-django32-elasticsearch7
63- requirements : django_3_2
32+ es-version : ' 7'
33+ tox_env : py38-django{22,31,32,40}-elasticsearch7
6434
6535 - python-version : 3.8
66- tox_env : py38-django22-elasticsearch6
67- requirements : django_2_2
68- - python-version : 3.8
69- tox_env : py38-django31-elasticsearch6
70- requirements : django_3_1
71- - python-version : 3.8
72- tox_env : py38-django32-elasticsearch6
73- requirements : django_3_2
36+ es-version : ' 6'
37+ tox_env : py38-django{22,31,32}-elasticsearch6
7438
7539 - python-version : 3.9
76- tox_env : py39-django22-elasticsearch7
77- requirements : django_2_2
78- - python-version : 3.9
79- tox_env : py39-django31-elasticsearch7
80- requirements : django_3_1
81- - python-version : 3.9
82- tox_env : py39-django32-elasticsearch7
83- requirements : django_3_2
40+ es-version : ' 7'
41+ tox_env : py39-django{22,31,32,40}-elasticsearch7
8442
8543 - python-version : 3.9
86- tox_env : py39-django22-elasticsearch6
87- requirements : django_2_2
88- - python-version : 3.9
89- tox_env : py39-django31-elasticsearch6
90- requirements : django_3_1
91- - python-version : 3.9
92- tox_env : py39-django32-elasticsearch6
93- requirements : django_3_2
44+ es-version : ' 6'
45+ tox_env : py39-django{22,31,32}-elasticsearch6
46+
47+ - python-version : 3.10
48+ es-version : ' 7'
49+ tox_env : py310-django{32,40}-elasticsearch7
50+
51+ - python-version : 3.10
52+ es-version : ' 6'
53+ tox_env : py310-django32-elasticsearch6
9454
9555 services :
9656 elasticsearch :
@@ -115,16 +75,10 @@ jobs:
11575 python -m pip install --upgrade pip setuptools wheel
11676 pip install pip-tools
11777 python -m pip install tox
118- pip-compile examples/requirements/${{ matrix.requirements }}.in
119- pip-compile examples/requirements/elastic_${{ matrix.es-version }}x.in
120- pip-compile examples/requirements/test.in
121- python -m pip install -r examples/requirements/${{ matrix.requirements }}.txt
122- python -m pip install -r examples/requirements/elastic_${{ matrix.es-version }}x.txt
123- python -m pip install -r examples/requirements/test.txt
12478 - name : Run tests
12579 uses : nick-invision/retry@v2
12680 with :
127- command : tox -e ${{ matrix.tox_env }} -- --color yes
81+ command : tox -r -e ' ${{ matrix.tox_env }}' -- --color yes
12882 timeout_minutes : 15
12983 max_attempts : 3
13084 - name : Upload to Codecov
0 commit comments