Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions eng/pipelines/autorest_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,24 @@ jobs:
versionSpec: $(PythonVersion)

- script: |
pip install -r eng/autorest_req.txt
git clone $(auto_rest_clone_url)
cd autorest.python
git checkout $(repo_branch)
npm install
displayName: 'Prepare Environment'

- script: |
cd $(Build.SourcesDirectory)/autorest.python/test/vanilla
cd $(Build.SourcesDirectory)/autorest.python/test/vanilla/legacy
pip install $(Build.SourcesDirectory)/$(source_path_azure_core)
pip install -r requirements.txt
pip freeze
pytest $(Build.SourcesDirectory)/autorest.python/test/vanilla
displayName: 'Install azure-core and Test Vanilla'
pytest $(Build.SourcesDirectory)/autorest.python/test/vanilla/legacy
displayName: 'Install azure-core and Test Vanilla Legacy'

- script: |
cd $(Build.SourcesDirectory)/autorest.python/test/azure
cd $(Build.SourcesDirectory)/autorest.python/test/azure/legacy
pip install $(Build.SourcesDirectory)/$(source_path_azure_mgmt_core)
pip install -r requirements.txt
pip freeze
pytest $(Build.SourcesDirectory)/autorest.python/test/azure
displayName: 'Install azure-mgmt-core and Test Azure'
pytest $(Build.SourcesDirectory)/autorest.python/test/azure/legacy
displayName: 'Install azure-mgmt-core and Test Azure Legacy'