Skip to content

Commit 360a418

Browse files
authored
[scripts] Update python - autorest - pr with new autorest test folder structure (Azure#19887)
1 parent e41751e commit 360a418

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

eng/pipelines/autorest_checks.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,24 @@ jobs:
4040
versionSpec: $(PythonVersion)
4141

4242
- script: |
43-
pip install -r eng/autorest_req.txt
4443
git clone $(auto_rest_clone_url)
4544
cd autorest.python
4645
git checkout $(repo_branch)
4746
npm install
4847
displayName: 'Prepare Environment'
4948
5049
- script: |
51-
cd $(Build.SourcesDirectory)/autorest.python/test/vanilla
50+
cd $(Build.SourcesDirectory)/autorest.python/test/vanilla/legacy
5251
pip install $(Build.SourcesDirectory)/$(source_path_azure_core)
5352
pip install -r requirements.txt
5453
pip freeze
55-
pytest $(Build.SourcesDirectory)/autorest.python/test/vanilla
56-
displayName: 'Install azure-core and Test Vanilla'
54+
pytest $(Build.SourcesDirectory)/autorest.python/test/vanilla/legacy
55+
displayName: 'Install azure-core and Test Vanilla Legacy'
5756
5857
- script: |
59-
cd $(Build.SourcesDirectory)/autorest.python/test/azure
58+
cd $(Build.SourcesDirectory)/autorest.python/test/azure/legacy
6059
pip install $(Build.SourcesDirectory)/$(source_path_azure_mgmt_core)
6160
pip install -r requirements.txt
6261
pip freeze
63-
pytest $(Build.SourcesDirectory)/autorest.python/test/azure
64-
displayName: 'Install azure-mgmt-core and Test Azure'
62+
pytest $(Build.SourcesDirectory)/autorest.python/test/azure/legacy
63+
displayName: 'Install azure-mgmt-core and Test Azure Legacy'

0 commit comments

Comments
 (0)