Skip to content

Commit 6553ec7

Browse files
committed
Tests
1 parent 26be3a0 commit 6553ec7

File tree

1 file changed

+48
-14
lines changed

1 file changed

+48
-14
lines changed

azure-pipelines.yml

Lines changed: 48 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,54 @@ parameters:
8181
# This here is the list of jobs we want to run for our build.
8282
# Jobs run in parallel.
8383
jobs:
84-
- template: build-pipeline.yml@templates
85-
parameters:
86-
# Python API does not follow the exact same Python version lifecycle than
87-
# Toolkit. So we prefer to control the test execution here instead.
88-
has_unit_tests: false
84+
# - template: build-pipeline.yml@templates
85+
# parameters:
86+
# # Python API does not follow the exact same Python version lifecycle than
87+
# # Toolkit. So we prefer to control the test execution here instead.
88+
# has_unit_tests: false
8989

90-
has_ui_resources: false
90+
# has_ui_resources: false
9191

92-
- template: azure-pipelines-templates/type_checking.yml
92+
# - template: azure-pipelines-templates/type_checking.yml
9393

94-
- ${{ each os_version in parameters.os_versions }}:
95-
- ${{ each python_version in parameters.python_versions }}:
96-
- template: azure-pipelines-templates/run-tests.yml
97-
parameters:
98-
name: "${{ os_version.name }} Python ${{ python_version }}"
99-
vm_image: ${{ os_version.vm_image }}
100-
python_version: ${{ python_version }}
94+
95+
# - ${{ each os_version in parameters.os_versions }}:
96+
# - ${{ each python_version in parameters.python_versions }}:
97+
# - template: azure-pipelines-templates/run-tests.yml
98+
# parameters:
99+
# name: "${{ os_version.name }} Python ${{ python_version }}"
100+
# vm_image: ${{ os_version.vm_image }}
101+
# python_version: ${{ python_version }}
102+
103+
104+
- job: TODO Tests
105+
strategy:
106+
matrix:
107+
linux_py310:
108+
imageName: 'ubuntu-latest'
109+
python.version: '3.10'
110+
mac_py310:
111+
imageName: 'macOS-latest'
112+
python.version: '3.10'
113+
windows_py310 :
114+
imageName: 'windows-latest'
115+
python.version: '3.10'
116+
linux_py311:
117+
imageName: 'ubuntu-latest'
118+
python.version: '3.11'
119+
mac_py311:
120+
imageName: 'macOS-latest'
121+
python.version: '3.11'
122+
windows_py311 :
123+
imageName: 'windows-latest'
124+
python.version: '3.11'
125+
maxParallel: 3
126+
pool:
127+
vmImage: $(imageName)
128+
steps:
129+
- task: UsePythonVersion@0
130+
inputs:
131+
versionSpec: ${{ python.version }}
132+
133+
- script: |
134+
python --version

0 commit comments

Comments
 (0)