Skip to content

Commit 241d71d

Browse files
committed
Change matrix specification way - trial 2
1 parent 5bc3459 commit 241d71d

File tree

2 files changed

+37
-36
lines changed

2 files changed

+37
-36
lines changed

.ci/pipeline/test-matrix.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#===============================================================================
2+
# Copyright 2025 Intel Corporation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#===============================================================================
16+
17+
matrix:
18+
Python3.9_Pip:
19+
PYTHON_VERSION: "3.9"
20+
PKG_MANAGER: "pip"
21+
Python3.10_Pip:
22+
PYTHON_VERSION: "3.10"
23+
PKG_MANAGER: "pip"
24+
Python3.11_Pip:
25+
PYTHON_VERSION: "3.11"
26+
PKG_MANAGER: "pip"
27+
Python3.9_Conda:
28+
PYTHON_VERSION: "3.9"
29+
PKG_MANAGER: "conda"
30+
Python3.10_Conda:
31+
PYTHON_VERSION: "3.10"
32+
PKG_MANAGER: "conda"
33+
Python3.11_Conda:
34+
PYTHON_VERSION: "3.11"
35+
PKG_MANAGER: "conda"

azure-pipelines.yml

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,7 @@ jobs:
2828
dependsOn: Lint
2929
strategy:
3030
matrix:
31-
Python3.9_Pip:
32-
PYTHON_VERSION: "3.9"
33-
PKG_MANAGER: "pip"
34-
Python3.10_Pip:
35-
PYTHON_VERSION: "3.10"
36-
PKG_MANAGER: "pip"
37-
Python3.11_Pip:
38-
PYTHON_VERSION: "3.11"
39-
PKG_MANAGER: "pip"
40-
Python3.9_Conda:
41-
PYTHON_VERSION: "3.9"
42-
PKG_MANAGER: "conda"
43-
Python3.10_Conda:
44-
PYTHON_VERSION: "3.10"
45-
PKG_MANAGER: "conda"
46-
Python3.11_Conda:
47-
PYTHON_VERSION: "3.11"
48-
PKG_MANAGER: "conda"
31+
${{ template: .ci/pipeline/test-matrix.yml }}
4932
pool:
5033
vmImage: "ubuntu-latest"
5134
steps:
@@ -54,24 +37,7 @@ jobs:
5437
dependsOn: Lint
5538
strategy:
5639
matrix:
57-
Python3.9_Pip:
58-
PYTHON_VERSION: "3.9"
59-
PKG_MANAGER: "pip"
60-
Python3.10_Pip:
61-
PYTHON_VERSION: "3.10"
62-
PKG_MANAGER: "pip"
63-
Python3.11_Pip:
64-
PYTHON_VERSION: "3.11"
65-
PKG_MANAGER: "pip"
66-
Python3.9_Conda:
67-
PYTHON_VERSION: "3.9"
68-
PKG_MANAGER: "conda"
69-
Python3.10_Conda:
70-
PYTHON_VERSION: "3.10"
71-
PKG_MANAGER: "conda"
72-
Python3.11_Conda:
73-
PYTHON_VERSION: "3.11"
74-
PKG_MANAGER: "conda"
40+
${{ template: .ci/pipeline/test-matrix.yml }}
7541
pool:
7642
vmImage: "windows-latest"
7743
steps:

0 commit comments

Comments
 (0)