We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcbaa2 commit ebb305eCopy full SHA for ebb305e
.ci/metrics/metrics.py
@@ -70,6 +70,7 @@
70
# by trial and error).
71
GRAFANA_METRIC_MAX_AGE_MN = 120
72
73
+
74
@dataclass
75
class JobMetrics:
76
job_name: str
@@ -243,6 +244,7 @@ def clean_up_libcxx_job_name(old_name: str) -> str:
243
244
new_name = stage + "_" + remainder
245
return new_name
246
247
248
def github_get_metrics(
249
github_repo: github.Repository, last_workflows_seen_as_completed: set[int]
250
) -> tuple[list[JobMetrics], int]:
.ci/metrics/metrics_test.py
@@ -409,5 +409,6 @@ def test_clean_up_libcxx_job_name(self):
409
out_name4 = metrics.clean_up_libcxx_job_name(bad_name)
410
self.assertEqual(out_name4, bad_name)
411
412
413
if __name__ == "__main__":
414
unittest.main()
0 commit comments