Skip to content

Commit

Permalink
[CI] Display more information about the system
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored May 22, 2024
1 parent 94db1c2 commit 4df3be6
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ jobs:
runs-on: ["self-hosted", "profiling"]
timeout-minutes: 3
steps:
- name: show /proc/cpuinfo
run: |
cat /proc/cpuinfo || true
- name: show /proc/stat
run: |
cat /proc/stat || true
- name: show /sys/fs/cgroup/cpuset/cpuset.effective_cpus
run: |
cat /sys/fs/cgroup/cpuset/cpuset.effective_cpus || true
- name: show /proc/meminfo
run: |
cat /proc/meminfo || true
- name: show /sys/fs/cgroup/memory/memory.limit_in_bytes
run: |
cat /sys/fs/cgroup/memory/memory.limit_in_bytes || true
- name: show /sys/fs/cgroup/memory/memory.stat
run: |
cat /sys/fs/cgroup/memory/memory.stat || true
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
- name: Test
Expand All @@ -19,7 +37,7 @@ jobs:
print("Hello, world!", flush=True)
for i in range(10):
for i in range(5):
print(str(datetime.now()))
size = i * 1024 ** 2 * 512
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory", flush=True)
Expand Down

0 comments on commit 4df3be6

Please sign in to comment.