@@ -13,44 +13,56 @@ jobs:
1313 image_name : ubuntu-18.04
1414 python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
1515 test_suites :
16- all : venv/bin/pytest -n 2 -vvs
16+ all : |
17+ source venv/bin/activate
18+ pytest -n 2 -vvs
1719
1820 - template : etc/ci/azure-posix.yml
1921 parameters :
2022 job_name : ubuntu20_cpython
2123 image_name : ubuntu-20.04
2224 python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
2325 test_suites :
24- all : venv/bin/pytest -n 2 -vvs
26+ all : |
27+ source venv/bin/activate
28+ pytest -n 2 -vvs
2529
2630 - template : etc/ci/azure-posix.yml
2731 parameters :
2832 job_name : macos1015_cpython
2933 image_name : macos-10.15
3034 python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
3135 test_suites :
32- all : venv/bin/pytest -n 2 -vvs
36+ all : |
37+ source venv/bin/activate
38+ pytest -n 2 -vvs
3339
3440 - template : etc/ci/azure-posix.yml
3541 parameters :
3642 job_name : macos11_cpython
3743 image_name : macos-11
3844 python_versions : ['3.7', '3.8', '3.9', '3.10']
3945 test_suites :
40- all : venv/bin/pytest -n 2 -vvs
46+ all : |
47+ source venv/bin/activate
48+ pytest -n 2 -vvs
4149
4250 - template : etc/ci/azure-win.yml
4351 parameters :
4452 job_name : win2019_cpython
4553 image_name : windows-2019
4654 python_versions : ['3.6', '3.7', '3.8', '3.9', '3.10']
4755 test_suites :
48- all : venv\Scripts\pytest -n 2 -vvs
56+ all : |
57+ call venv\Scripts\activate.bat
58+ pytest -n 2 -vvs
4959
5060 - template : etc/ci/azure-win.yml
5161 parameters :
5262 job_name : win2022_cpython
5363 image_name : windows-2022
5464 python_versions : ['3.7', '3.8', '3.9', '3.10']
5565 test_suites :
56- all : venv\Scripts\pytest -n 2 -vvs
66+ all : |
67+ call venv\Scripts\activate.bat
68+ pytest -n 2 -vvs
0 commit comments