Skip to content

Commit

Permalink
check memory usage
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <helenxiehz@gmail.com>
  • Loading branch information
helenxie-bit committed Sep 29, 2024
1 parent a12034c commit b088815
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/e2e-test-tune-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,32 @@ jobs:
echo "Checking disk space usage before e2e test..."
df -h # Run 'df' to check free disk space
- name: Monitor Memory Usage Before Run
if: always()
run: free -h

- name: Monitor Docker Container Memory Usage
if: always()
run: |
docker stats --no-stream
# Step 3: Run e2e test with tune API
- name: Run e2e test with tune API
if: always()
uses: ./.github/workflows/template-e2e-test
with:
tune-api: true
training-operator: true

- name: Monitor Memory Usage After Run
if: always()
run: free -h

- name: Monitor Docker Container Memory Usage
if: always()
run: |
docker stats --no-stream
# Step 4: Check Disk Space After Test
- name: Check Disk Space After Test
if: always() # Run this step even if previous steps fail
Expand Down

0 comments on commit b088815

Please sign in to comment.