Skip to content

Conversation

kenodegard
Copy link
Contributor

@kenodegard kenodegard commented Feb 25, 2025

Description

Corrects the audit stats by appending to the stats if they already exist (instead of overwriting them).

Also adds some tests for improved test coverage.

Xref conda/conda#14616

Comment on lines +73 to +76
# update durations stats
os_stats = stats.setdefault(os_name, DurationStats())
os_stats.number_of_tests += len(data)
os_stats.total_run_time += sum(data.values())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change that corrects the stats

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Feb 25, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Feb 25, 2025
@kenodegard kenodegard marked this pull request as ready for review February 25, 2025 17:35
@kenodegard kenodegard requested a review from a team as a code owner February 25, 2025 17:35
@kenodegard kenodegard moved this from 🆕 New to 👀 In Review in 🔎 Review Feb 25, 2025
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Approved in 🔎 Review Feb 26, 2025
@jezdez jezdez merged commit a46e86a into main Feb 26, 2025
7 checks passed
@jezdez jezdez deleted the correct-combine-durations-stats branch February 26, 2025 15:27
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🏁 Done in 🔎 Review Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants