diff --git a/eng/pipelines/ci.yml b/eng/pipelines/ci.yml index cbf0c9948c..c6cb20d0a6 100644 --- a/eng/pipelines/ci.yml +++ b/eng/pipelines/ci.yml @@ -107,7 +107,7 @@ jobs: - script: tox run -e apiview displayName: 'Validate multiapi APIView - Python $(PythonVersion)' - condition: and(succeededOrFailed(), eq(variables['PythonVersion'], '3.11')) + condition: and(succeededOrFailed(), eq(variables['PythonVersion'], '3.10')) workingDirectory: $(Build.SourcesDirectory)/autorest.python/packages/autorest.python/test/multiapi - ${{ if eq(ne(variables['Build.Reason'], 'PullRequest'), 'True') }}: diff --git a/eng/pipelines/generated-code-checks-template.yml b/eng/pipelines/generated-code-checks-template.yml index 87233dfb9f..a1d7087be7 100644 --- a/eng/pipelines/generated-code-checks-template.yml +++ b/eng/pipelines/generated-code-checks-template.yml @@ -25,4 +25,4 @@ steps: - script: npm run test -- --command=apiview --folder=${{ parameters.folderName }} displayName: ApiView ${{ parameters.folderName }} - Python $(PythonVersion) workingDirectory: $(Build.SourcesDirectory)/autorest.python/packages/${{parameters.package}} - condition: eq(variables['PythonVersion'], '3.11') + condition: eq(variables['PythonVersion'], '3.10')