Skip to content

[CI] Even smaller memory allocations #14

[CI] Even smaller memory allocations

[CI] Even smaller memory allocations #14

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
print("Hello, world!")
for i in range(5):
print(str(datetime.now()))
size = i * 1024 ** 2 * 256
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory")
a = bytearray(size)
time.sleep(10)
a