Skip to content

[CI] Smaller job, do not OOM #13

[CI] Smaller job, do not OOM

[CI] Smaller job, do not OOM #13

Workflow file for this run

name: Test
on:
push:
jobs:
test:
name: Test job
runs-on: ["self-hosted", "profiling"]
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
for i in range(5):
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