Skip to content

Commit

Permalink
[CI] Flush print calls and use larger allocations again
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored May 22, 2024
1 parent 28d5b5f commit 94db1c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
import time
from datetime import datetime
print("Hello, world!")
print("Hello, world!", flush=True)
for i in range(5):
for i in range(10):
print(str(datetime.now()))
size = i * 1024 ** 2 * 512
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory")
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory", flush=True)
a = bytearray(size)
time.sleep(10)
a

0 comments on commit 94db1c2

Please sign in to comment.