Skip to content

πŸ•’ Add Test Duration Reporting to Pytest in CI #614

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

bhimrazy
Copy link
Collaborator

@bhimrazy bhimrazy commented Jun 4, 2025

What does this PR do?

Adds --durations=100 to pytest in the CI workflow to track the slowest tests β€” useful for performance insights.

Inspired by: LitServe#526

To be useful for #612

@bhimrazy bhimrazy self-assigned this Jun 4, 2025
@Borda Borda merged commit 5904684 into Lightning-AI:main Jun 4, 2025
29 checks passed
@bhimrazy bhimrazy deleted the ci/add-to-display-durations branch June 4, 2025 09:30
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 80%. Comparing base (0c2fbc3) to head (bdb3889).
Report is 2 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #614   +/-   ##
===================================
- Coverage    80%    80%   -0%     
===================================
  Files        43     43           
  Lines      6463   6463           
===================================
- Hits       5157   5156    -1     
- Misses     1306   1307    +1     
πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants