@@ -12,55 +12,69 @@ jobs:
1212 image_name : ubuntu-16.04
1313 python_versions : ['3.6', '3.7', '3.8', '3.9']
1414 test_suites :
15- all : tmp /bin/pytest -vvs
15+ all : venv /bin/pytest -vvs
1616
1717 - template : etc/ci/azure-posix.yml
1818 parameters :
1919 job_name : ubuntu18_cpython
2020 image_name : ubuntu-18.04
2121 python_versions : ['3.6', '3.7', '3.8', '3.9']
2222 test_suites :
23- all : tmp /bin/pytest -n 2 -vvs
23+ all : venv /bin/pytest -n 2 -vvs
2424
2525 - template : etc/ci/azure-posix.yml
2626 parameters :
2727 job_name : ubuntu20_cpython
2828 image_name : ubuntu-20.04
2929 python_versions : ['3.6', '3.7', '3.8', '3.9']
3030 test_suites :
31- all : tmp /bin/pytest -n 2 -vvs
31+ all : venv /bin/pytest -n 2 -vvs
3232
3333 - template : etc/ci/azure-posix.yml
3434 parameters :
3535 job_name : macos1014_cpython
3636 image_name : macos-10.14
3737 python_versions : ['3.6', '3.7', '3.8', '3.9']
3838 test_suites :
39- all : tmp /bin/pytest -n 2 -vvs
39+ all : venv /bin/pytest -n 2 -vvs
4040
4141 - template : etc/ci/azure-posix.yml
4242 parameters :
4343 job_name : macos1015_cpython
4444 image_name : macos-10.15
4545 python_versions : ['3.6', '3.7', '3.8', '3.9']
4646 test_suites :
47- all : tmp /bin/pytest -n 2 -vvs
47+ all : venv /bin/pytest -n 2 -vvs
4848
4949 - template : etc/ci/azure-win.yml
5050 parameters :
5151 job_name : win2016_cpython
5252 image_name : vs2017-win2016
5353 python_versions : ['3.6', '3.7', '3.8', '3.9']
5454 test_suites :
55- all : tmp \Scripts\pytest -n 2 -vvs
55+ all : venv \Scripts\pytest -n 2 -vvs
5656
5757 - template : etc/ci/azure-win.yml
5858 parameters :
5959 job_name : win2019_cpython
6060 image_name : windows-2019
6161 python_versions : ['3.6', '3.7', '3.8', '3.9']
6262 test_suites :
63- all : tmp\Scripts\pytest -n 2 -vvs
63+ all : venv\Scripts\pytest -n 2 -vvs
64+
65+
66+ # ###############################################################################
67+ # Test using many version of Click to work around regressions in API
68+ # ###############################################################################
69+
70+
71+ - template : etc/ci/azure-posix.yml
72+ parameters :
73+ job_name : ubuntu20_test_all_supported_click_versions
74+ image_name : ubuntu-20.04
75+ python_versions : ['3.6', '3.7', '3.8', '3.9']
76+ test_suites :
77+ click_versions : for clk_ver in 8.0.1 7.1.2 7.1.1 7.1 6.7; do pip install click==$clk_ver; venv/bin/pytest -vvs tests/test_cliutils_progressbar.py; done
6478
6579
6680# ###############################################################################
@@ -74,20 +88,20 @@ jobs:
7488 image_name : ubuntu-20.04
7589 python_versions : ['3.6', '3.7', '3.8', '3.9']
7690 test_suites :
77- all : tmp /bin/pip install --force-reinstall --upgrade -e . && tmp /bin/pytest -n 2 -vvs
91+ all : venv /bin/pip install --force-reinstall --upgrade -e . && venv /bin/pytest -n 2 -vvs
7892
7993 - template : etc/ci/azure-win.yml
8094 parameters :
8195 job_name : win2019_cpython_latest_from_pip
8296 image_name : windows-2019
8397 python_versions : ['3.6', '3.7', '3.8', '3.9']
8498 test_suites :
85- all : tmp \Scripts\pip install --force-reinstall --upgrade -e . && tmp \Scripts\pytest -n 2 -vvs
99+ all : venv \Scripts\pip install --force-reinstall --upgrade -e . && venv \Scripts\pytest -n 2 -vvs
86100
87101 - template : etc/ci/azure-posix.yml
88102 parameters :
89103 job_name : macos1015_cpython_latest_from_pip
90104 image_name : macos-10.15
91105 python_versions : ['3.6', '3.7', '3.8', '3.9']
92106 test_suites :
93- all : tmp /bin/pip install --force-reinstall --upgrade -e . && tmp /bin/pytest -n 2 -vvs
107+ all : venv /bin/pip install --force-reinstall --upgrade -e . && venv /bin/pytest -n 2 -vvs
0 commit comments