Skip to content

Commit 64e6da6

Browse files
committed
Fix encoding
1 parent 04db58c commit 64e6da6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/benchmarks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Integration test
22

33
on: [push]
44

5+
env:
6+
PYTHONIOENCODING: "utf-8"
7+
58
jobs:
69
build:
710
runs-on: ${{ matrix.os }}

benchmark/texify.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ def main(ds_name: str, results_dir: str, max_rows: int):
8282
score_dirs = ["⬇", "⬇"]
8383

8484
score_headers = [f"{h} {d}" for h, d in zip(score_headers, score_dirs)]
85+
table = tabulate(score_table, headers=["Method", *score_headers])
8586
print()
86-
print(tabulate(score_table, headers=["Method", *score_headers]))
87+
print(table)
8788

8889
result_path = Path(results_dir) / "texify_bench"
8990
result_path.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)