Skip to content

Commit

Permalink
Remove py27 and py36 from all test matrices. Leave py27 testing enabl…
Browse files Browse the repository at this point in the history
…ed for core. (Azure#22388)

* remove py27 and py36 from all test matrices. leave py27 testing enabled for core
  • Loading branch information
scbedd authored and rakshith91 committed Apr 10, 2022
1 parent 8747ec5 commit b76a8f6
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,10 @@
"Agent": {
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }
},
"PythonVersion": [ "pypy3", "3.6", "3.7", "3.8", "3.9" ],
"PythonVersion": [ "pypy3", "3.7", "3.8", "3.9" ],
"CoverageArg": "--disablecov"
},
"include": [
{
"Agent": {
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
},
"PythonVersion": "2.7",
"CoverageArg": "--disablecov"
},
{
"Agent": {
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" }
},
"PythonVersion": "3.6",
"CoverageArg": "--disablecov"
},
{
"Config": {
"Ubuntu2004_310": {
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/stages/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3", "2.7", "3.6", "3.7", "3.8" ],
"PythonVersion": [ "pypy3", "3.7", "3.8" ],
"CoverageArg": "--disablecov",
"TestSamples": "false"
},
Expand Down
5 changes: 5 additions & 0 deletions sdk/core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: core
MatrixConfigs:
- Name: core_ci_matrix
Path: sdk/core/platform-matrix.json
Selection: sparse
GenerateVMJobs: true
Artifacts:
- name: azure-core
safeName: azurecore
Expand Down
18 changes: 18 additions & 0 deletions sdk/core/platform-matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"matrix": {
"$IMPORT": "eng/pipelines/templates/stages/platform-matrix.json"
},
"include": [
{
"Config": {
"Ubuntu2004_py27": {
"OSVmImage": "MMSUbuntu20.04",
"Pool": "azsdk-pool-mms-ubuntu-2004-general",
"PythonVersion": "2.7",
"CoverageArg": "--disablecov",
"TestSamples": "false"
}
}
}
]
}
2 changes: 1 addition & 1 deletion sdk/storage/platform-matrix-all-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3", "2.7", "3.6", "3.7", "3.8", "3.9" ],
"PythonVersion": [ "pypy3", "3.7", "3.8", "3.9" ],
"CoverageArg": "--disablecov",
"TestSamples": "false",
"AZURE_LIVE_TEST_SERVICE_VERSION": [
Expand Down

0 comments on commit b76a8f6

Please sign in to comment.