Skip to content

Commit

Permalink
REview changes
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkuttappan committed Jul 27, 2020
1 parent ef1ef70 commit 74237fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
ToxEnvParallel: '--tenvparallel'
InjectedPackages: ''
BuildDocs: true
SkipPyPyTest: false
SkipPythonVersion: ''
TestMatrix:
Linux_Python27:
OSVmImage: 'ubuntu-18.04'
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
matrix:
${{ each matrixEntry in parameters.TestMatrix }}:
${{ if or(eq(matrixEntry.value.RunForPR, 'true'), ne(variables['Build.Reason'], 'PullRequest')) }}:
# Skip pypy3 if any specific service has opted out
${{ if or(ne(matrixEntry.value.PythonVersion, 'pypy3'), ne(parameters.SkipPyPYTest, 'true')) }}:
# Skip python version if any specific service has opted out
${{ if not(contains(parameters.SkipPythonVersion, matrixEntry.value.PythonVersion)) }}:
${{ matrixEntry.key }}:
${{ insert }}: ${{ matrixEntry.value }}

Expand Down
8 changes: 4 additions & 4 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ parameters:
- name: TargetDocRepoName
type: string
default: azure-docs-sdk-python
- name: SkipPyPyTest
type: boolean
default: false
- name: SkipPythonVersion
type: string
default: ''

stages:
- stage: Build
Expand All @@ -33,7 +33,7 @@ stages:
ToxEnvParallel: ${{parameters.ToxEnvParallel}}
BuildDocs: ${{parameters.BuildDocs}}
InjectedPackages: ${{parameters.InjectedPackages}}
SkipPyPyTest: ${{parameters.SkipPyPyTest}}
SkipPythonVersion: ${{parameters.SkipPythonVersion}}

# The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
- ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ extends:
safeName: azuremgmtservicebus
- name: azure_servicebus
safeName: azureservicebus
SkipPyPyTest: true
SkipPythonVersion: 'pypy3'

0 comments on commit 74237fd

Please sign in to comment.