diff options
author | Kirill Rysin <[email protected]> | 2025-02-27 12:44:16 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2025-02-27 14:44:16 +0300 |
commit | 2e52d9008e09cafe49f3018c36e17f33f4647420 (patch) | |
tree | 41045e287a2fbada04f412a9a185d092c73808a0 | |
parent | 95046853a1fdd3f93bb4e6bca233bc600852cf19 (diff) |
fix test monitoring calculation (#15124)
-rwxr-xr-x | .github/scripts/analytics/tests_monitor.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/scripts/analytics/tests_monitor.py b/.github/scripts/analytics/tests_monitor.py index 538d398156c..89c2489ad3a 100755 --- a/.github/scripts/analytics/tests_monitor.py +++ b/.github/scripts/analytics/tests_monitor.py @@ -227,21 +227,21 @@ def determine_state(row): return 'Muted Flaky' elif 'pass' in history_class and not 'failure' in history_class and not 'mute' in history_class : return 'Muted Stable' - elif 'skipped' in history_class or not history_class: + elif 'skipped' in history_class: return 'Skipped' else: - return history_class + return 'no_runs' else: if 'failure' in history_class and 'mute' not in history_class: return 'Flaky' elif 'mute' in history_class: return 'Muted' - elif 'skipped' in history_class or not history_class: - return 'Skipped' elif 'pass' in history_class: return 'Passed' + elif 'skipped' in history_class: + return 'Skipped' else: - return history_class + return 'no_runs' def calculate_success_rate(row): |