-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: create a test thermometer #10
Conversation
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
summarize_test_results.py
Outdated
""" | ||
|
||
output = f"{metric_name(metric)} thermometer:\n\n" | ||
for bucket_hits in summary[metric]["failed"].items(): |
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.
We just found a bug here, when @NiccoloFei ran a CI/CD workflow with this branch (latest SHA)
https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/9369542163
Since we iterate over the summary[metric]["failed"]
, we will skip over items that had no failures.
We should still get a printout even if there were zero failures.
Proboably better iterate over summary[metric]["total"]
@jlong49
Signed-off-by: John Long <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
output that can be used in chatops
Closes #9