Skip to content

Commit

Permalink
[CI] Allocate 2 GiB array and monitor memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 21, 2024
1 parent b79d080 commit c69e321
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ jobs:
test:
name: Test job
runs-on: ["self-hosted", "profiling"]
timeout-minutes: 1080 # 18 hours
timeout-minutes: 10 # 10 minutes
steps:
- name: Collect Workflow Telemetry
uses: catchpoint/workflow-telemetry-action@v2
- name: Test
run: |
date
echo "Hello world"
for hour in {0..13}; do
for min in {0..5}; do
python3 -c "import time; time.sleep(600)" # 10 minutes
date
done
done
python3 -c 'bytearray(2 * 1024 * 1024 * 1024); import time; time.sleep(60)'
date

0 comments on commit c69e321

Please sign in to comment.