@@ -21,7 +21,7 @@ stages:
2121 steps :
2222 - task : UsePythonVersion@0
2323 inputs :
24- versionSpec : ' 3.9 '
24+ versionSpec : ' 3.10 '
2525
2626 - script : pip install -U tox
2727 displayName : Install tox
@@ -43,7 +43,7 @@ stages:
4343 steps :
4444 - task : UsePythonVersion@0
4545 inputs :
46- versionSpec : ' 3.9 '
46+ versionSpec : ' 3.10 '
4747
4848 - script : pip install interrogate
4949 displayName : Install interrogate
@@ -67,39 +67,24 @@ stages:
6767 spec : ' 3.8'
6868 py39 :
6969 spec : ' 3.9'
70+ py310 :
71+ spec : ' 3.10'
7072 pypy3 :
7173 spec : ' pypy3'
72- platforms : [linux, windows, macOs ]
74+ platforms : [linux, windows]
7375
74- - job : Levenshtein
75- strategy :
76- matrix :
77- linux :
78- platform : Ubuntu-latest
79- macOs :
80- platform : macOS-latest
81-
82- pool :
83- vmImage : $[ variables.platform ]
84-
85- steps :
86- - task : UsePythonVersion@0
87- inputs :
88- versionSpec : ' 3.9'
89- architecture : ' x64'
90- displayName : Use Python 3.9
91-
92- - script : pip install -U --force-reinstall -r requirements-ci.txt -e .[speedup]
93- displayName : Install CI requirements, plus python-Levenshtein
94-
95- - script : pip list
96- displayName : Show full environment contents
97-
98- - script : cd doc; make html; mkdir scratch
99- displayName : Build the documentation for tests to work against (Linux/macOs)
100-
101- - script : pytest --nonloc -k "not readme"
102- displayName : Run pytest without README tests
76+ - template : azure-coretest.yml
77+ parameters :
78+ pythons :
79+ py37 :
80+ spec : ' 3.7'
81+ py38 :
82+ spec : ' 3.8'
83+ py39 :
84+ spec : ' 3.9'
85+ py310 :
86+ spec : ' 3.10'
87+ platforms : [macOs]
10388
10489
10590- stage : aux_tests
@@ -115,7 +100,7 @@ stages:
115100 steps :
116101 - task : UsePythonVersion@0
117102 inputs :
118- versionSpec : ' 3.9 '
103+ versionSpec : ' 3.10 '
119104
120105 - script : pip install . -r requirements-rtd.txt
121106 displayName : Install project, plus docs requirements
@@ -133,7 +118,7 @@ stages:
133118 steps :
134119 - task : UsePythonVersion@0
135120 inputs :
136- versionSpec : ' 3.9 '
121+ versionSpec : ' 3.10 '
137122
138123 - script : pip install -r requirements-dev.txt
139124 displayName : Install full dev requirements
@@ -150,7 +135,7 @@ stages:
150135 steps :
151136 - task : UsePythonVersion@0
152137 inputs :
153- versionSpec : ' 3.9 '
138+ versionSpec : ' 3.10 '
154139
155140 - script : pip install . -r requirements-rtd.txt
156141 displayName : Install doc requirements and local project
@@ -168,7 +153,7 @@ stages:
168153 steps :
169154 - task : UsePythonVersion@0
170155 inputs :
171- versionSpec : ' 3.9 '
156+ versionSpec : ' 3.10 '
172157
173158 - script : pip install -r requirements-dev.txt
174159 displayName : Install full dev requirements
@@ -191,7 +176,7 @@ stages:
191176 steps :
192177 - task : UsePythonVersion@0
193178 inputs :
194- versionSpec : ' 3.9 '
179+ versionSpec : ' 3.10 '
195180
196181 - script : pip install -r requirements-ci.txt
197182 displayName : Install CI requirements
@@ -211,7 +196,7 @@ stages:
211196 steps :
212197 - task : UsePythonVersion@0
213198 inputs :
214- versionSpec : ' 3.9 '
199+ versionSpec : ' 3.10 '
215200
216201 - script : pip install tox flake8-noqa -r requirements-flake8.txt
217202 displayName : Install requirements
0 commit comments