fix(ci/eval-stats): resolve prResult symlink (#404967)

This commit is contained in:
Jörg Thalheim
2025-05-07 18:37:34 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ jobs:
# Use the target branch to get accurate maintainer info
nix-build target/ci -A eval.compare \
--arg beforeResultDir ./targetResult \
--arg afterResultDir ./prResult \
--arg afterResultDir $(realpath prResult) \
--arg touchedFilesJson ./touched-files.json \
-o comparison
+1
View File
@@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict:
return metrics
def dataframe_to_markdown(df: pd.DataFrame) -> str:
df = df.sort_values(by=df.columns[0], ascending=True)
markdown_lines = []
# Header (get column names and format them)