mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Update azure-pipelines-ci.yml for Azure Pipelines
This commit is contained in:
parent
fc36927468
commit
36f3940c85
@ -113,10 +113,8 @@ stages:
|
|||||||
|
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pytest --timeout=9 --durations=10 --junitxml=test-results.xml --cov --cov-report=html -qq -o console_output_style=count -p no:sugar tests
|
pytest --timeout=9 --durations=10 --junitxml=test-results.xml --cov --cov-report=html -qq -o console_output_style=count -p no:sugar tests
|
||||||
codecov || true
|
codecov --token=$(codecovToken)
|
||||||
displayName: 'Run pytest for python $(python.container) / coverage'
|
displayName: 'Run pytest for python $(python.container) / coverage'
|
||||||
env:
|
|
||||||
CODECOV_TOKEN: '$(codecovToken)'
|
|
||||||
condition: and(succeeded(), eq(variables['python.container'], variables['PythonMain']))
|
condition: and(succeeded(), eq(variables['python.container'], variables['PythonMain']))
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
condition: succeededOrFailed()
|
condition: succeededOrFailed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user