[CI] Onboard pytest and deprecate nose for Automation Test#13153
[CI] Onboard pytest and deprecate nose for Automation Test#13153haroldrandom merged 21 commits intodevfrom
Conversation
|
add to S169 |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
55ee863 to
685f67d
Compare
| displayName: Automation Test (Profile Latest) | ||
| dependsOn: BuildPythonWheel | ||
| timeoutInMinutes: 90 | ||
| timeoutInMinutes: 120 |
There was a problem hiding this comment.
should it be incremental?
There was a problem hiding this comment.
pytest take more time to run all tests (1936), so, have to increase this timeout limit. And Will be fixed in the future to optimize the time cost.
There was a problem hiding this comment.
What's the time cost now with pytest?
azure-pipelines.yml
Outdated
| displayName: Run Automation, Profile 2018-03-01 | ||
| dependsOn: BuildPythonWheel | ||
| pip install -q azdev | ||
| azdev --version |
There was a problem hiding this comment.
duplicate scripts in different profile, please wrap them in a script file or common variable in yml?
There was a problem hiding this comment.
I searched and found the ADO template only works for steps not for job. So, I moved those similar steps into a single file .azure-pipelines/template/automation_test.yml.
| filePath: ./scripts/ci/test_automation.sh | ||
| env: | ||
| AZURE_CLI_TEST_TARGET_PROFILE: '2018-03-01' | ||
| ADO_PULL_REQUEST_TARGET_BRANCH: $(System.PullRequest.TargetBranch) |
There was a problem hiding this comment.
why cannot we reuse these two environment?
There was a problem hiding this comment.
They have became parameters while instantiating the template .azure-pipelines/template/automation_test.yml.
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |

Description
Testing Guide
1.1 it ran 132 tests under profile latest
1.2 it ran 71 tests under profile 2018
6.1 it rall all 1936 tests under profile latest
6.2 it ran all 610 tests under profile 2019-03-01-hybrid
6.3 it ran all 635 tests under profile 2018-03-01-hybrid
6.4 it ran all 314 tests under profile 2017-03-09-profile
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.