Skip to content

Commit

Permalink
try to reduce memory
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Nov 12, 2024
1 parent be02814 commit 3c46f37
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ jobs:
run: |
from glob import glob
contents = []
for fn in glob(".test_durations_*"):
with open(fn) as f:
contents.append(f.read().strip().strip("{}"))
with open(".test_durations", "w") as f:
f.write("{" + ",".join(contents) + "}")
f.write("{")
for fn in glob(".test_durations_*"):
with open(fn) as f:
f.write(f.read().strip().strip("{}"))
f.write("}")
shell: python

pass:
Expand Down

0 comments on commit 3c46f37

Please sign in to comment.