Skip to content

Commit 9d98bf4

Browse files
committed
Shorten Azure CI job names
Otherwise Azure does not display them in full in lists. Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 48bb1fc commit 9d98bf4

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

azure-pipelines.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- template: etc/ci/azure-posix.yml
1414
parameters:
15-
job_name: vm_ubuntu16_py36
15+
job_name: ubuntu16
1616
image_name: ubuntu-16.04
1717
python_versions: ['3.6']
1818
test_suites:
@@ -66,27 +66,27 @@ jobs:
6666
tests/licensedcode/test_detection_validate.py \
6767
-k TestValidateLicenseBasic
6868
69-
license_validate_extended_1: |
69+
license_validate_ext_1: |
7070
bin/pytest -n 3 -vvs --test-suite=validate \
7171
tests/licensedcode/test_detection_validate.py \
7272
-k TestValidateLicenseExtended1
7373
74-
license_validate_extended_2: |
74+
license_validate_ext_2: |
7575
bin/pytest -n 3 -vvs --test-suite=validate \
7676
tests/licensedcode/test_detection_validate.py \
7777
-k TestValidateLicenseExtended2
7878
79-
license_validate_extended_3: |
79+
license_validate_ext_3: |
8080
bin/pytest -n 3 -vvs --test-suite=validate \
8181
tests/licensedcode/test_detection_validate.py \
8282
-k TestValidateLicenseExtended3
8383
84-
license_validate_extended_4: |
84+
license_validate_ext_4: |
8585
bin/pytest -n 3 -vvs --test-suite=validate \
8686
tests/licensedcode/test_detection_validate.py \
8787
-k TestValidateLicenseExtended4
8888
89-
license_validate_extended_5: |
89+
license_validate_ext_5: |
9090
bin/pytest -n 3 -vvs --test-suite=validate \
9191
tests/licensedcode/test_detection_validate.py \
9292
-k TestValidateLicenseExtended5
@@ -97,34 +97,37 @@ jobs:
9797
9898
- template: etc/ci/azure-posix.yml
9999
parameters:
100-
job_name: macos_1014_py3x
100+
job_name: mac1014
101101
image_name: macos-10.14
102102
python_versions: ['3.6', '3.7', '3.8', '3.9']
103+
python_architecture: x64
103104
test_suites:
104105
all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
105106

106107

107108
- template: etc/ci/azure-posix.yml
108109
parameters:
109-
job_name: macos_1015_py3x
110+
job_name: mac1015
110111
image_name: macos-10.15
111112
python_versions: ['3.6', '3.7', '3.8', '3.9']
113+
python_architecture: x64
112114
test_suites:
113115
all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
114116

115117

116118
# - template: etc/ci/azure-posix.yml
117119
# parameters:
118-
# job_name: macos_110_py3x
120+
# job_name: mac1100
119121
# image_name: macos-11.0
120122
# python_versions: ['3.6', '3.7', '3.8', '3.9']
123+
# python_architecture: x64
121124
# test_suites:
122125
# all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
123126

124127

125128
- template: etc/ci/azure-win.yml
126129
parameters:
127-
job_name: win_2016_py3x
130+
job_name: win2016
128131
image_name: vs2017-win2016
129132
python_versions: ['3.6', '3.7', '3.8', '3.9']
130133
python_architecture: x64
@@ -134,37 +137,38 @@ jobs:
134137

135138
- template: etc/ci/azure-win.yml
136139
parameters:
137-
job_name: win_2019_py3x
140+
job_name: win2019
138141
image_name: windows-2019
139142
python_versions: ['3.6', '3.7', '3.8', '3.9']
140143
python_architecture: x64
141144
test_suites:
142145
all: Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
143146

144-
145147
- template: etc/ci/azure-posix.yml
146148
parameters:
147-
job_name: vm_ubuntu16_py3x
149+
job_name: ubuntu16
148150
image_name: ubuntu-16.04
149151
python_versions: ['3.7', '3.8', '3.9']
152+
python_architecture: x64
150153
test_suites:
151154
all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
152155

153156

154157
- template: etc/ci/azure-posix.yml
155158
parameters:
156-
job_name: vm_ubuntu18_py3x
159+
job_name: ubuntu18
157160
image_name: ubuntu-18.04
158161
python_versions: ['3.6', '3.7', '3.8', '3.9']
162+
python_architecture: x64
159163
test_suites:
160164
all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
161165

162-
163166
- template: etc/ci/azure-posix.yml
164167
parameters:
165-
job_name: vm_ubuntu20_py3x
168+
job_name: ubuntu20
166169
image_name: ubuntu-20.04
167170
python_versions: ['3.6', '3.7', '3.8', '3.9']
171+
python_architecture: x64
168172
test_suites:
169173
all: bin/pytest -n 2 -vvs tests/scancode/test_cli.py
170174

0 commit comments

Comments
 (0)