chore(ci): show slowest prodtest tests duration
What changed, and why it matters
This commit only adds a CI option to print the 10 slowest test durations during automated testing. It does not change any firmware code, cryptographic operations, or security-sensitive behavior. There is no security issue.
No action needed. This is a benign CI instrumentation change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change sets TESTOPTS="–durations 10" in the GitHub Actions workflow for prodtest tests. This is a pytest option that reports the slowest tests after a run. It affects only CI output formatting and has no impact on test logic, firmware binaries, or runtime security.
Changed components
.github/workflows/core.ymlInspect captured patch +1 / −0
diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 67896f77..ff511398 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -207,6 +207,7 @@ jobs:
SDL_VIDEODRIVER: dummy
TREZOR_MODEL: ${{ matrix.model }}
PYTEST_TIMEOUT: 400
+ TESTOPTS: "--durations 10"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6.0.2
with:
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.