mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Publish test results (#24460)
This commit is contained in:
parent
20ba80f934
commit
af926db211
@ -94,9 +94,14 @@ jobs:
|
|||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
pytest --timeout=9 --durations=10 -qq -o console_output_style=count -p no:sugar tests
|
pytest --timeout=9 --durations=10 --junitxml=junit/test-results.xml -qq -o console_output_style=count -p no:sugar tests
|
||||||
displayName: 'Run pytest for python $(python.version)'
|
displayName: 'Run pytest for python $(python.version)'
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
condition: succeededOrFailed()
|
||||||
|
inputs:
|
||||||
|
testResultsFiles: '**/test-*.xml'
|
||||||
|
testRunTitle: 'Publish test results for Python $(python.version)'
|
||||||
|
|
||||||
- job: 'FullCheck'
|
- job: 'FullCheck'
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user