|
1 | | - |
2 | 1 | ################################################################################ |
3 | 2 | # We use Azure to run the full tests suites on multiple Python 3.x |
4 | 3 | # on multiple Windows, macOS and Linux versions all on 64 bits |
5 | 4 | # These jobs are using VMs with Azure-provided Python builds |
6 | 5 | ################################################################################ |
7 | 6 |
|
8 | 7 | jobs: |
9 | | - |
10 | | -################################################################################ |
11 | | -# These jobs are using VMs and Azure-provided Pythons 3.8 |
12 | | -################################################################################ |
13 | | - |
14 | | - - template: etc/ci/azure-posix.yml |
15 | | - parameters: |
16 | | - job_name: ubuntu20_cpython |
17 | | - image_name: ubuntu-20.04 |
18 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
19 | | - test_suites: |
20 | | - all: venv/bin/pytest -n 2 -vvs |
21 | | - |
22 | | - - template: etc/ci/azure-posix.yml |
23 | | - parameters: |
24 | | - job_name: ubuntu22_cpython |
25 | | - image_name: ubuntu-22.04 |
26 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
27 | | - test_suites: |
28 | | - all: venv/bin/pytest -n 2 -vvs |
29 | | - |
30 | | - - template: etc/ci/azure-posix.yml |
31 | | - parameters: |
32 | | - job_name: macos11_cpython |
33 | | - image_name: macOS-11 |
34 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
35 | | - test_suites: |
36 | | - all: venv/bin/pytest -n 2 -vvs |
37 | | - |
38 | | - - template: etc/ci/azure-posix.yml |
39 | | - parameters: |
40 | | - job_name: macos12_cpython |
41 | | - image_name: macOS-12 |
42 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
43 | | - test_suites: |
44 | | - all: venv/bin/pytest -n 2 -vvs |
45 | | - |
46 | | - - template: etc/ci/azure-posix.yml |
47 | | - parameters: |
48 | | - job_name: macos13_cpython |
49 | | - image_name: macOS-13 |
50 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
51 | | - test_suites: |
52 | | - all: venv/bin/pytest -n 2 -vvs |
53 | | - |
54 | | - - template: etc/ci/azure-win.yml |
55 | | - parameters: |
56 | | - job_name: win2019_cpython |
57 | | - image_name: windows-2019 |
58 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
59 | | - test_suites: |
60 | | - all: venv\Scripts\pytest -n 2 -vvs |
61 | | - |
62 | | - - template: etc/ci/azure-win.yml |
63 | | - parameters: |
64 | | - job_name: win2022_cpython |
65 | | - image_name: windows-2022 |
66 | | - python_versions: ['3.7', '3.8', '3.9', '3.10', '3.11'] |
67 | | - test_suites: |
68 | | - all: venv\Scripts\pytest -n 2 -vvs |
69 | | - |
70 | | - |
71 | | -################################################################################ |
72 | | -# Test using many version of Click to work around regressions in API |
73 | | -################################################################################ |
74 | | - |
75 | | - |
76 | | - - template: etc/ci/azure-posix.yml |
77 | | - parameters: |
78 | | - job_name: ubuntu20_test_all_supported_click_versions |
79 | | - image_name: ubuntu-20.04 |
80 | | - python_versions: ['3.7', '3.8', '3.9', '3.10'] |
81 | | - test_suites: |
82 | | - click_versions: | |
83 | | - for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7; |
84 | | - do |
85 | | - pip install click==$clk_ver; |
86 | | - venv/bin/pytest -vvs tests/test_cliutils_progressbar.py; |
87 | | - done |
88 | | -
|
89 | | -
|
90 | | -################################################################################ |
91 | | -# Tests using a plain pip install to get the latest of all wheels |
92 | | -################################################################################ |
93 | | - |
94 | | - |
95 | | - - template: etc/ci/azure-posix.yml |
96 | | - parameters: |
97 | | - job_name: ubuntu20_cpython_latest_from_pip |
98 | | - image_name: ubuntu-20.04 |
99 | | - python_versions: ['3.7', '3.8', '3.9', '3.10'] |
100 | | - test_suites: |
101 | | - all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e . && venv/bin/pytest -n 2 -vvs |
102 | | - |
103 | | - |
104 | | - - template: etc/ci/azure-win.yml |
105 | | - parameters: |
106 | | - job_name: win2019_cpython_latest_from_pip |
107 | | - image_name: windows-2019 |
108 | | - python_versions: ['3.7', '3.8', '3.9', '3.10'] |
109 | | - test_suites: |
110 | | - all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e . && venv\Scripts\pytest -n 2 -vvs |
111 | | - |
112 | | - - template: etc/ci/azure-posix.yml |
113 | | - parameters: |
114 | | - job_name: macos11_cpython_latest_from_pip |
115 | | - image_name: macos-11 |
116 | | - python_versions: ['3.7', '3.8', '3.9', '3.10'] |
117 | | - test_suites: |
118 | | - all: venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e . && venv/bin/pytest -n 2 -vvs |
| 8 | + ################################################################################ |
| 9 | + # These jobs are using VMs and Azure-provided Pythons 3.8 |
| 10 | + ################################################################################ |
| 11 | + |
| 12 | + - template: etc/ci/azure-posix.yml |
| 13 | + parameters: |
| 14 | + job_name: ubuntu20_cpython |
| 15 | + image_name: ubuntu-20.04 |
| 16 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 17 | + test_suites: |
| 18 | + all: venv/bin/pytest -n 2 -vvs |
| 19 | + |
| 20 | + - template: etc/ci/azure-posix.yml |
| 21 | + parameters: |
| 22 | + job_name: ubuntu22_cpython |
| 23 | + image_name: ubuntu-22.04 |
| 24 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 25 | + test_suites: |
| 26 | + all: venv/bin/pytest -n 2 -vvs |
| 27 | + |
| 28 | + - template: etc/ci/azure-posix.yml |
| 29 | + parameters: |
| 30 | + job_name: macos12_cpython |
| 31 | + image_name: macOS-12 |
| 32 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 33 | + test_suites: |
| 34 | + all: venv/bin/pytest -n 2 -vvs |
| 35 | + |
| 36 | + - template: etc/ci/azure-posix.yml |
| 37 | + parameters: |
| 38 | + job_name: macos13_cpython |
| 39 | + image_name: macOS-13 |
| 40 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 41 | + test_suites: |
| 42 | + all: venv/bin/pytest -n 2 -vvs |
| 43 | + |
| 44 | + - template: etc/ci/azure-win.yml |
| 45 | + parameters: |
| 46 | + job_name: win2019_cpython |
| 47 | + image_name: windows-2019 |
| 48 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 49 | + test_suites: |
| 50 | + all: venv\Scripts\pytest -n 2 -vvs |
| 51 | + |
| 52 | + - template: etc/ci/azure-win.yml |
| 53 | + parameters: |
| 54 | + job_name: win2022_cpython |
| 55 | + image_name: windows-2022 |
| 56 | + python_versions: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 57 | + test_suites: |
| 58 | + all: venv\Scripts\pytest -n 2 -vvs |
| 59 | + |
| 60 | + ################################################################################ |
| 61 | + # Test using many version of Click to work around regressions in API |
| 62 | + ################################################################################ |
| 63 | + |
| 64 | + - template: etc/ci/azure-posix.yml |
| 65 | + parameters: |
| 66 | + job_name: ubuntu20_test_all_supported_click_versions |
| 67 | + image_name: ubuntu-20.04 |
| 68 | + python_versions: ["3.7", "3.8", "3.9", "3.10"] |
| 69 | + test_suites: |
| 70 | + click_versions: | |
| 71 | + for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7; |
| 72 | + do |
| 73 | + pip install click==$clk_ver; |
| 74 | + venv/bin/pytest -vvs tests/test_cliutils_progressbar.py; |
| 75 | + done |
| 76 | +
|
| 77 | + ################################################################################ |
| 78 | + # Tests using a plain pip install to get the latest of all wheels |
| 79 | + ################################################################################ |
| 80 | + |
| 81 | + - template: etc/ci/azure-posix.yml |
| 82 | + parameters: |
| 83 | + job_name: ubuntu20_cpython_latest_from_pip |
| 84 | + image_name: ubuntu-20.04 |
| 85 | + python_versions: ["3.7", "3.8", "3.9", "3.10"] |
| 86 | + test_suites: |
| 87 | + all: |
| 88 | + venv/bin/pip install --upgrade-strategy eager --force-reinstall |
| 89 | + --upgrade -e . && venv/bin/pytest -n 2 -vvs |
| 90 | + |
| 91 | + - template: etc/ci/azure-win.yml |
| 92 | + parameters: |
| 93 | + job_name: win2019_cpython_latest_from_pip |
| 94 | + image_name: windows-2019 |
| 95 | + python_versions: ["3.7", "3.8", "3.9", "3.10"] |
| 96 | + test_suites: |
| 97 | + all: |
| 98 | + venv\Scripts\pip install --upgrade-strategy eager --force-reinstall |
| 99 | + --upgrade -e . && venv\Scripts\pytest -n 2 -vvs |
0 commit comments