Skip to content

Commit 2e48dca

Browse files
committed
Run tests on more OSes and Python versions
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 5e386d9 commit 2e48dca

File tree

1 file changed

+37
-18
lines changed

1 file changed

+37
-18
lines changed

azure-pipelines.yml

Lines changed: 37 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,64 @@
11

22
################################################################################
3-
# We use Azure to run the full tests suites on Python 3.6
4-
# on Windows (32 and 64), macOS and Linux (64 various distro)
3+
# We use Azure to run the full tests suites on multiple Python 3.x
4+
# on multiple Windows, macOS and Linux versions all on 64 bits
5+
# These jobs are using VMs with Azure-provided Python builds
56
################################################################################
67

78
jobs:
89

9-
################################################################################
10-
# These jobs are using VMs and Azure-provided Python 3.6
11-
################################################################################
10+
- template: etc/ci/azure-linux.yml
11+
parameters:
12+
job_name: ubuntu16_cpython
13+
image_name: ubuntu-16.04
14+
python_versions: ['3.6', '3.7', '3.8', '3.9']
15+
test_suites:
16+
all: tmp/bin/pytest -vvs
1217

1318
- template: etc/ci/azure-linux.yml
1419
parameters:
15-
job_name: ubuntu18_py36
20+
job_name: ubuntu18_cpython
1621
image_name: ubuntu-18.04
17-
python_versions: ['3.6']
22+
python_versions: ['3.6', '3.7', '3.8', '3.9']
23+
test_suites:
24+
all: tmp/bin/pytest -n 2 -vvs
25+
26+
- template: etc/ci/azure-linux.yml
27+
parameters:
28+
job_name: ubuntu20_cpython
29+
image_name: ubuntu-20.04
30+
python_versions: ['3.6', '3.7', '3.8', '3.9']
31+
test_suites:
32+
all: tmp/bin/pytest -n 2 -vvs
33+
34+
- template: etc/ci/azure-mac.yml
35+
parameters:
36+
job_name: macos1014_cpython
37+
image_name: macos-10.14
38+
python_versions: ['3.6', '3.7', '3.8', '3.9']
1839
test_suites:
1940
all: tmp/bin/pytest -n 2 -vvs
2041

2142
- template: etc/ci/azure-mac.yml
2243
parameters:
23-
job_name: macos1015_py36
44+
job_name: macos1015_cpython
2445
image_name: macos-10.15
25-
python_versions: ['3.6']
46+
python_versions: ['3.6', '3.7', '3.8', '3.9']
2647
test_suites:
2748
all: tmp/bin/pytest -n 2 -vvs
2849

2950
- template: etc/ci/azure-win.yml
3051
parameters:
31-
job_name: win2019_32_py36
32-
image_name: windows-2019
33-
python_versions: ['3.6']
34-
python_architecture: x86
52+
job_name: win2016_cpython
53+
image_name: vs2017-win2016
54+
python_versions: ['3.6', '3.7', '3.8', '3.9']
3555
test_suites:
36-
all: tmp\Scripts\pytest -vvs
56+
all: tmp\Scripts\pytest -n 2 -vvs
3757

3858
- template: etc/ci/azure-win.yml
3959
parameters:
40-
job_name: win2019_64_py36
60+
job_name: win2019_cpython
4161
image_name: windows-2019
42-
python_versions: ['3.6']
43-
python_architecture: x64
62+
python_versions: ['3.6', '3.7', '3.8', '3.9']
4463
test_suites:
45-
all: tmp\Scripts\pytest -vvs
64+
all: tmp\Scripts\pytest -n 2 -vvs

0 commit comments

Comments
 (0)