- 
                Notifications
    You must be signed in to change notification settings 
- Fork 292
[CI] Adds pytest-durations for test timing #782
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -12,6 +12,7 @@ dtlib | |
| numpy>=1.23.5 | ||
| pytest>=6.2.4 | ||
| pytest_xdist>=2.2.1 | ||
| pytest-durations | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For improved reproducibility of your test environment, it's a good practice to pin dependency versions. Consider adding a version specifier for   | ||
| packaging>=21.0 | ||
| PyYAML | ||
| tqdm>=4.62.3 | ||
|  | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Do you actually need pytest-durations?
Pytest already supports
--durationsnatively; the extra plugin may be redundant. Please confirm to avoid unnecessary dependencies.Run locally:
🏁 Script executed:
Length of output: 317
Remove redundant pytest-durations plugin
pytest already provides
--durationsand--durations-minoptions natively; the pytest-durations plugin is therefore unnecessary. Drop it from your CI config and project dependencies.🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 118-118: no new line character at the end of file
(new-line-at-end-of-file)
🤖 Prompt for AI Agents