Skip to content

Commit

Permalink
Update memtests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapellman authored Sep 20, 2024
1 parent 56e925a commit 1407788
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/memtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
cache: pip
- run: pip install memray
- run: pip install -r mlids-trainer/requirements.txt
- run: python -m memray run mlids-trainer/main.py
- run: python -m memray run output=memray_report.bin mlids-trainer/main.py
- run: python -m memrary stats memray_report.bin --threshold 1MB
continue-on-error: true
- if: failure()
run: echo "Memory usage exceeded 1MB" && exit 1

0 comments on commit 1407788

Please sign in to comment.