Skip to content

Commit 3de7c50

Browse files
authored
fix(ci/eval-stats): resolve prResult symlink (#404967)
2 parents 2326019 + 4f64ebd commit 3de7c50

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/eval.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
# Use the target branch to get accurate maintainer info
220220
nix-build target/ci -A eval.compare \
221221
--arg beforeResultDir ./targetResult \
222-
--arg afterResultDir ./prResult \
222+
--arg afterResultDir $(realpath prResult) \
223223
--arg touchedFilesJson ./touched-files.json \
224224
-o comparison
225225

ci/eval/compare/cmp-stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict:
6060
return metrics
6161

6262
def dataframe_to_markdown(df: pd.DataFrame) -> str:
63+
df = df.sort_values(by=df.columns[0], ascending=True)
6364
markdown_lines = []
6465

6566
# Header (get column names and format them)

0 commit comments

Comments
 (0)