fix(ci/eval-stats): resolve prResult symlink (#404967)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user