Skip to content

Commit cadd393

Browse files
committed
ci: Expand macOS coverage to 10.14, latest release on Azure Pipelines
10.14 will be retired on Azure mid December 2021. I want to get so test runs while we can.
1 parent 8276b81 commit cadd393

File tree

2 files changed

+68
-2
lines changed

2 files changed

+68
-2
lines changed

.ci/azure-pipelines-steps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ steps:
99
displayName: Install python
1010
inputs:
1111
versionSpec: '$(python.version)'
12+
condition: ne(variables['python.version'], '')
1213

1314
- script: python -mpip install tox
1415
displayName: Install tooling
1516

16-
- script: tox -e "$(tox.env)"
17+
- script: python -mtox -e "$(tox.env)"
1718
displayName: "Run tests"
1819
env:
1920
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)

.ci/azure-pipelines.yml

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,27 @@
99
#ANSIBLE_VERBOSITY: 3
1010

1111
jobs:
12+
- job: Mac1014
13+
# vanilla Ansible is really slow
14+
timeoutInMinutes: 120
15+
steps:
16+
- template: azure-pipelines-steps.yml
17+
pool:
18+
# https://github.com/actions/virtual-environments/blob/main/images/macos/
19+
vmImage: macOS-10.14
20+
strategy:
21+
matrix:
22+
Mito_27:
23+
python.version: '2.7'
24+
tox.env: py27-mode_mitogen
25+
Mito_36:
26+
python.version: '3.6'
27+
tox.env: py36-mode_mitogen
28+
Mito_39:
29+
python.version: '3.9'
30+
tox.env: py39-mode_mitogen
1231

13-
- job: Mac
32+
- job: Mac1015
1433
# vanilla Ansible is really slow
1534
timeoutInMinutes: 120
1635
steps:
@@ -23,6 +42,12 @@ jobs:
2342
Mito_27:
2443
python.version: '2.7'
2544
tox.env: py27-mode_mitogen
45+
Mito_36:
46+
python.version: '3.6'
47+
tox.env: py36-mode_mitogen
48+
Mito_39:
49+
python.version: '3.9'
50+
tox.env: py39-mode_mitogen
2651

2752
# TODO: test python3, python3 tests are broken
2853
Loc_27_210:
@@ -52,6 +77,46 @@ jobs:
5277
STRATEGY: linear
5378
ANSIBLE_SKIP_TAGS: resource_intensive
5479

80+
- job: MacLatest
81+
# vanilla Ansible is really slow
82+
timeoutInMinutes: 120
83+
steps:
84+
- template: azure-pipelines-steps.yml
85+
pool:
86+
# https://github.com/actions/virtual-environments/blob/main/images/macos/
87+
vmImage: macOS-latest
88+
strategy:
89+
matrix:
90+
Mito_27:
91+
tox.env: py27-mode_mitogen
92+
Mito_37:
93+
python.version: '3.7'
94+
tox.env: py37-mode_mitogen
95+
Mito_39:
96+
python.version: '3.9'
97+
tox.env: py39-mode_mitogen
98+
99+
# TODO: test python3, python3 tests are broken
100+
Loc_27_210:
101+
tox.env: py27-mode_localhost-ansible2.10
102+
Loc_27_3:
103+
tox.env: py27-mode_localhost-ansible3
104+
Loc_27_4:
105+
tox.env: py27-mode_localhost-ansible4
106+
107+
# NOTE: this hangs when ran in Ubuntu 18.04
108+
Van_27_210:
109+
tox.env: py27-mode_localhost-ansible2.10
110+
STRATEGY: linear
111+
ANSIBLE_SKIP_TAGS: resource_intensive
112+
Van_27_3:
113+
tox.env: py27-mode_localhost-ansible3
114+
STRATEGY: linear
115+
ANSIBLE_SKIP_TAGS: resource_intensive
116+
Van_27_4:
117+
tox.env: py27-mode_localhost-ansible4
118+
STRATEGY: linear
119+
ANSIBLE_SKIP_TAGS: resource_intensive
55120

56121
- job: Linux
57122
pool:

0 commit comments

Comments
 (0)