{CI} Use azdev and pytest for full test#17383
Conversation
|
CI |
| displayName: Automation Test (Profile Latest) | ||
| timeoutInMinutes: 120 | ||
| pool: | ||
| vmImage: 'ubuntu-16.04' |
There was a problem hiding this comment.
Is 16.04 too old? Consider 18.04 or 20.04
There was a problem hiding this comment.
Will update in #17368 to keep in sync with main pipeline.
| Python36: | ||
| python.version: '3.6' | ||
| Python38: | ||
| python.version: '3.8' |
There was a problem hiding this comment.
Where is 3.7? Is 3.7 less important than 3.6 or 3.8?
There was a problem hiding this comment.
We package with Python 3.6 and currently we support up to 3.8. @fengzhou-msft
| profile: '' | ||
| - name: pythonVersion | ||
| type: string | ||
| default: '' |
There was a problem hiding this comment.
What does '' mean? How about setting default value 3.8?
There was a problem hiding this comment.
What does '' mean?
'' means empty string. I copied it as-is. It also appears here:
azure-cli/.azure-pipelines/templates/azdev_setup.yml
Lines 5 to 7 in 0fa1fb5
How about setting default value 3.8?
Sure.
Description
As
nosttestshas actually been deprecated (the repo https://github.com/nose-devs/nose hasn't been updated since 2016), the full test should be moved toazdevandpytest.Known issues
azure-cli/scripts/ci/test_automation.sh
Lines 23 to 24 in e7186c8
azdevcallspytestto run tests sequentially. This causes the pipeline running time to double compared to that ofnosttests.