mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Report slow tests by duration instead of by rank (#179792)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
b2e7fea022
commit
d39e5d0bfb
@@ -861,9 +861,6 @@ jobs:
|
|||||||
- name: Register Python problem matcher
|
- name: Register Python problem matcher
|
||||||
run: |
|
run: |
|
||||||
echo "::add-matcher::.github/workflows/matchers/python.json"
|
echo "::add-matcher::.github/workflows/matchers/python.json"
|
||||||
- name: Register pytest slow test problem matcher
|
|
||||||
run: |
|
|
||||||
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"
|
|
||||||
- name: Download pytest_buckets
|
- name: Download pytest_buckets
|
||||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
with:
|
with:
|
||||||
@@ -895,7 +892,8 @@ jobs:
|
|||||||
python3 -b -X dev -m pytest \
|
python3 -b -X dev -m pytest \
|
||||||
-qq \
|
-qq \
|
||||||
--timeout=9 \
|
--timeout=9 \
|
||||||
--durations=10 \
|
--durations=0 \
|
||||||
|
--durations-min=1 \
|
||||||
--numprocesses auto \
|
--numprocesses auto \
|
||||||
--snapshot-details \
|
--snapshot-details \
|
||||||
--dist=loadfile \
|
--dist=loadfile \
|
||||||
@@ -997,9 +995,6 @@ jobs:
|
|||||||
- name: Register Python problem matcher
|
- name: Register Python problem matcher
|
||||||
run: |
|
run: |
|
||||||
echo "::add-matcher::.github/workflows/matchers/python.json"
|
echo "::add-matcher::.github/workflows/matchers/python.json"
|
||||||
- name: Register pytest slow test problem matcher
|
|
||||||
run: |
|
|
||||||
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"
|
|
||||||
- name: Install SQL Python libraries
|
- name: Install SQL Python libraries
|
||||||
run: |
|
run: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
@@ -1038,7 +1033,8 @@ jobs:
|
|||||||
--snapshot-details \
|
--snapshot-details \
|
||||||
${cov_params[@]} \
|
${cov_params[@]} \
|
||||||
-o console_output_style=count \
|
-o console_output_style=count \
|
||||||
--durations=10 \
|
--durations=0 \
|
||||||
|
--durations-min=10 \
|
||||||
-p no:sugar \
|
-p no:sugar \
|
||||||
--exclude-warning-annotations \
|
--exclude-warning-annotations \
|
||||||
--dburl=mysql://root:password@127.0.0.1/homeassistant-test \
|
--dburl=mysql://root:password@127.0.0.1/homeassistant-test \
|
||||||
@@ -1150,9 +1146,6 @@ jobs:
|
|||||||
- name: Register Python problem matcher
|
- name: Register Python problem matcher
|
||||||
run: |
|
run: |
|
||||||
echo "::add-matcher::.github/workflows/matchers/python.json"
|
echo "::add-matcher::.github/workflows/matchers/python.json"
|
||||||
- name: Register pytest slow test problem matcher
|
|
||||||
run: |
|
|
||||||
echo "::add-matcher::.github/workflows/matchers/pytest-slow.json"
|
|
||||||
- name: Install SQL Python libraries
|
- name: Install SQL Python libraries
|
||||||
run: |
|
run: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user