Skip to content

Commit b928a61

Browse files
Including links of tests on each table line of comparison (cli and github)
1 parent 94c51f0 commit b928a61

File tree

1 file changed

+5
-1
lines changed
  • redis_benchmarks_specification/__compare__

1 file changed

+5
-1
lines changed

redis_benchmarks_specification/__compare__/compare.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,10 @@ def from_rts_to_regression_table(
804804
noise_waterline = 3
805805
progress = tqdm(unit="benchmark time-series", total=len(test_names))
806806
for test_name in test_names:
807+
compare_version = "v0.1.208"
808+
github_link = "https://github.com/redis/redis-benchmarks-specification/blob"
809+
test_path = f"redis_benchmarks_specification/test-suites/{test_name}.yml"
810+
test_link = f"[{test_name}]({github_link}/{compare_version}/{test_path})"
807811
multi_value_baseline = check_multi_value_filter(baseline_str)
808812
multi_value_comparison = check_multi_value_filter(comparison_str)
809813

@@ -997,7 +1001,7 @@ def from_rts_to_regression_table(
9971001
comparison_v_str,
9981002
note,
9991003
percentage_change,
1000-
test_name,
1004+
test_link,
10011005
)
10021006
if detected_regression:
10031007
table_regressions.append(line)

0 commit comments

Comments
 (0)