Skip to content

Commit 8668461

Browse files
authored
Remove py27 and py36 from all test matrices. Leave py27 testing enabled for core. (#22388)
* remove py27 and py36 from all test matrices. leave py27 testing enabled for core
1 parent 7c4f4b0 commit 8668461

File tree

5 files changed

+26
-17
lines changed

5 files changed

+26
-17
lines changed

eng/pipelines/templates/stages/platform-matrix-cryptography-dependency.json

+1-15
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,10 @@
66
"Agent": {
77
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }
88
},
9-
"PythonVersion": [ "pypy3", "3.6", "3.7", "3.8", "3.9" ],
9+
"PythonVersion": [ "pypy3", "3.7", "3.8", "3.9" ],
1010
"CoverageArg": "--disablecov"
1111
},
1212
"include": [
13-
{
14-
"Agent": {
15-
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
16-
},
17-
"PythonVersion": "2.7",
18-
"CoverageArg": "--disablecov"
19-
},
20-
{
21-
"Agent": {
22-
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" }
23-
},
24-
"PythonVersion": "3.6",
25-
"CoverageArg": "--disablecov"
26-
},
2713
{
2814
"Config": {
2915
"Ubuntu2004_310": {

eng/pipelines/templates/stages/platform-matrix.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
1111
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
1212
},
13-
"PythonVersion": [ "pypy3", "2.7", "3.6", "3.7", "3.8" ],
13+
"PythonVersion": [ "pypy3", "3.7", "3.8" ],
1414
"CoverageArg": "--disablecov",
1515
"TestSamples": "false"
1616
},

sdk/core/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ extends:
3131
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
3232
parameters:
3333
ServiceDirectory: core
34+
MatrixConfigs:
35+
- Name: core_ci_matrix
36+
Path: sdk/core/platform-matrix.json
37+
Selection: sparse
38+
GenerateVMJobs: true
3439
Artifacts:
3540
- name: azure-core
3641
safeName: azurecore

sdk/core/platform-matrix.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"matrix": {
3+
"$IMPORT": "eng/pipelines/templates/stages/platform-matrix.json"
4+
},
5+
"include": [
6+
{
7+
"Config": {
8+
"Ubuntu2004_py27": {
9+
"OSVmImage": "MMSUbuntu20.04",
10+
"Pool": "azsdk-pool-mms-ubuntu-2004-general",
11+
"PythonVersion": "2.7",
12+
"CoverageArg": "--disablecov",
13+
"TestSamples": "false"
14+
}
15+
}
16+
}
17+
]
18+
}

sdk/storage/platform-matrix-all-versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
1111
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
1212
},
13-
"PythonVersion": [ "pypy3", "2.7", "3.6", "3.7", "3.8", "3.9" ],
13+
"PythonVersion": [ "pypy3", "3.7", "3.8", "3.9" ],
1414
"CoverageArg": "--disablecov",
1515
"TestSamples": "false",
1616
"AZURE_LIVE_TEST_SERVICE_VERSION": [

0 commit comments

Comments
 (0)