Skip to content

Commit 73671c0

Browse files
committed
Change matrix specification way
1 parent 0982dfc commit 73671c0

File tree

2 files changed

+37
-38
lines changed

2 files changed

+37
-38
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 & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -27,51 +27,15 @@ jobs:
2727
- job: Linux
2828
dependsOn: Lint
2929
strategy:
30-
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"
30+
${{ template: .ci/pipeline/matrix-template.yml }}
4931
pool:
5032
vmImage: "ubuntu-latest"
5133
steps:
5234
- template: .ci/pipeline/test-configuration-linux.yml
5335
- job: Windows
5436
dependsOn: Lint
5537
strategy:
56-
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"
38+
${{ template: .ci/pipeline/matrix-template.yml }}
7539
pool:
7640
vmImage: "windows-latest"
7741
steps:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy