Skip to content

Commit

Permalink
[CI] More verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 21, 2024
1 parent 84119ba commit 23d6c26
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ jobs:
test:
name: Test job
runs-on: ["self-hosted", "profiling"]
timeout-minutes: 10 # 10 minutes
timeout-minutes: 3
steps:
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
- name: Test
shell: python3 {0}
run: |
import time
from datetime import datetime
a = bytearray(1 * 1024 * 1024 * 1024)
time.sleep(20)
b = bytearray(2 * 1024 * 1024 * 1024)
time.sleep(20)
c = bytearray(3 * 1024 * 1024 * 1024)
time.sleep(20)
c = bytearray(4 * 1024 * 1024 * 1024)
time.sleep(20)
for i in range(17):
print(str(datetime.now()))
size = i * 1024 ** 3
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory")
a = bytearray(size)
time.sleep(10)
a

0 comments on commit 23d6c26

Please sign in to comment.