@@ -198,7 +198,7 @@ jobs:
198198 condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
199199 displayName : ' Run tests (main)'
200200 steps :
201- - script : ' pip install pytest pytest-runner && python setup.py pytest'
201+ - script : ' pip install pytest pytest-runner "coverage<6.4.1;python_version== '' 3.6 '' " "coverage;python_version> '' 3.6 '' " && python setup.py pytest'
202202 displayName : ' Unit tests'
203203 env :
204204 PYTEST_ADDOPTS : ' -m "not (notebook or automl or dml or serial or cate_api)" -n 2'
@@ -225,7 +225,7 @@ jobs:
225225 condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
226226 displayName : ' Run tests (DML)'
227227 steps :
228- - script : ' pip install pytest pytest-runner && python setup.py pytest'
228+ - script : ' pip install pytest pytest-runner "coverage<6.4.1;python_version== '' 3.6 '' " "coverage;python_version> '' 3.6 '' " && python setup.py pytest'
229229 displayName : ' Unit tests'
230230 env :
231231 PYTEST_ADDOPTS : ' -m "dml"'
@@ -254,7 +254,7 @@ jobs:
254254 condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
255255 displayName : ' Run tests (Serial)'
256256 steps :
257- - script : ' pip install pytest pytest-runner && python setup.py pytest'
257+ - script : ' pip install pytest pytest-runner "coverage<6.4.1;python_version== '' 3.6 '' " "coverage;python_version> '' 3.6 '' " && python setup.py pytest'
258258 displayName : ' Unit tests'
259259 env :
260260 PYTEST_ADDOPTS : ' -m "serial" -n 1'
@@ -281,7 +281,7 @@ jobs:
281281 condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
282282 displayName : ' Run tests (Other)'
283283 steps :
284- - script : ' pip install pytest pytest-runner'
284+ - script : ' pip install pytest pytest-runner "coverage<6.4.1;python_version== '' 3.6 '' " "coverage;python_version> '' 3.6 '' " '
285285 displayName : ' Install pytest'
286286 - script : ' python setup.py pytest'
287287 displayName : ' CATE Unit tests'
0 commit comments