Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding live code-coverage for just python39 #15709

Merged
merged 7 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ exclude_lines =
if raw:
if custom_headers:
if headers:
if response.status_code not in
if response.status_code not in
if TYPE_CHECKING:
6 changes: 5 additions & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,23 @@ parameters:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
Linux_PyPy3:
OSVmImage: 'ubuntu-18.04'
PythonVersion: 'pypy3'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9'
CoverageArg: ''
CloudConfigurations:
AzureCloud:
SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
Expand All @@ -39,7 +44,6 @@ jobs:
- job: ${{ parameters.JobName }}
variables:
skipComponentGovernanceDetection: true
CoverageArg: --disablecov

timeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
strategy:
Expand Down
4 changes: 4 additions & 0 deletions sdk/eventhub/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9.0'
CoverageArg: ''
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
seankane-msft marked this conversation as resolved.
Show resolved Hide resolved
EnvVars:
AZURE_STORAGE_ACCOUNT: $(python-eh-livetest-event-hub-storage-account)
AZURE_STORAGE_ACCESS_KEY: $(python-eh-livetest-event-hub-storage-access-key)
Expand Down
8 changes: 8 additions & 0 deletions sdk/formrecognizer/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,37 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
Linux_PyPy3:
OSVmImage: 'ubuntu-18.04'
PythonVersion: 'pypy3'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9.0'
CoverageArg: ''
${{ if not(contains(variables['Build.DefinitionName'], 'prod')) }}:
Matrix:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9.0'
CoverageArg: '--disablecov'
seankane-msft marked this conversation as resolved.
Show resolved Hide resolved
EnvVars:
AZURE_FORM_RECOGNIZER_PYTHON_CANARY_API_KEY: $(python-formrecognizer-test-canary-api-key)
AZURE_FORM_RECOGNIZER_PYTHON_API_KEY: $(python-formrecognizer-test-api-key)
Expand Down
5 changes: 4 additions & 1 deletion sdk/monitor/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9.0'
PythonVersion: '3.9.0'
CoverageArg: '--disablecov'
seankane-msft marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 5 additions & 1 deletion sdk/schemaregistry/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
Linux_Python38:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.8'
PythonVersion: '3.8'
CoverageArg: '--disablecov'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want one to remain right?

seankane-msft marked this conversation as resolved.
Show resolved Hide resolved
6 changes: 5 additions & 1 deletion sdk/servicebus/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
CoverageArg: '--disablecov'
MacOs_Python37:
OSVmImage: 'macOS-10.15'
PythonVersion: '3.7'
CoverageArg: '--disablecov'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
CoverageArg: '--disablecov'
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.9.0'
PythonVersion: '3.9.0'
CoverageArg: ''