зеркало из
1
0
Форкнуть 0

Switch to the Python generator for regression testing

This commit is contained in:
David Wilson 2020-02-27 14:15:50 -08:00
Родитель fb820903c8
Коммит 533f2a3bc1
2 изменённых файлов: 20 добавлений и 6 удалений

Просмотреть файл

@ -53,6 +53,19 @@ specs:
- xml-service.json
- xms-error-responses.json
languages:
- language: python
excludeSpecs:
# The following specs aren't yet supported by @autorest/modelerfour
- body-formdata-urlencoded.json
- body-formdata.json
outputPath: ../modelerfour/test/regression/python
oldArgs:
- --v3
- --use:@autorest/python@5.0.0-dev.20200225.1
newArgs:
- --v3
- --use:../modelerfour
- --use:@autorest/python@5.0.0-dev.20200225.1
- language: typescript
excludeSpecs:
# The following specs currently crash the v3 TypeScript generator
@ -72,13 +85,10 @@ languages:
outputPath: ../modelerfour/test/regression/typescript
oldArgs:
- --v3
- --version:3.0.6200
- --package-name:test-package
- --use:@autorest/modelerfour@4.5.175
- --use:@autorest/typescript@0.1.0-dev.20200203.1
newArgs:
- --v3
- --version:3.0.6200
- --package-name:test-package
- --use:../modelerfour
- --use:@autorest/typescript@0.1.0-dev.20200203.1

Просмотреть файл

@ -28,8 +28,12 @@ steps:
displayName: 'Rush install, build and test'
- script: npm install -g @autorest/compare@~0.2.0
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
- script: npm install -g @autorest/compare@~0.3.0
displayName: Install autorest-compare
- script: autorest-compare --compare:.scripts/regression-compare.yaml
displayName: Regression Test - @autorest/typescript
- script: autorest-compare --compare:.scripts/regression-compare.yaml --language:python
displayName: Regression Test - @autorest/python